mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Tidied up a few rectangle methods.
This commit is contained in:
parent
49870de020
commit
e87f833183
4 changed files with 17 additions and 19 deletions
|
|
@ -411,7 +411,7 @@ public:
|
|||
const int bottom = env->GetIntField (rect, RectClass.bottom);
|
||||
env->DeleteLocalRef (rect);
|
||||
|
||||
return Rectangle<int> (left, top, right - left, bottom - top);
|
||||
return Rectangle<int>::leftTopRightBottom (left, top, right, bottom);
|
||||
}
|
||||
|
||||
bool isClipEmpty() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue