mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a Rectangle intersection issue
This commit is contained in:
parent
95396b150d
commit
ae0b8cf406
1 changed files with 1 additions and 1 deletions
|
|
@ -678,7 +678,7 @@ public:
|
|||
/** Clips a rectangle so that it lies only within this one.
|
||||
Returns false if the two rectangles didn't overlap.
|
||||
*/
|
||||
bool intersectRectangle (Rectangle<ValueType>& rectangleToClip) const noexcept
|
||||
bool intersectRectangle (Rectangle<ValueType> rectangleToClip) const noexcept
|
||||
{
|
||||
return intersectRectangle (rectangleToClip.pos.x, rectangleToClip.pos.y,
|
||||
rectangleToClip.w, rectangleToClip.h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue