Juce::Rectangle removeFrom* not const


#1

hi,

Could you add the const qualifier to the removeFrom* family of functions on juce::Rectangle in order to allow code like g.drawRect(getBounds().removeFromBottom(1)) to compile and avoid temp variables?


#2

sorry I misread the comments and thought it was returning the reduced version not the removed part.