mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates.
This commit is contained in:
parent
75ff0c5e7e
commit
2c2a11dee9
15 changed files with 533 additions and 242 deletions
|
|
@ -590,7 +590,7 @@ void ComboBox::mouseUp (const MouseEvent& e2)
|
|||
|
||||
const MouseEvent e (e2.getEventRelativeTo (this));
|
||||
|
||||
if (reallyContains (e.x, e.y, true)
|
||||
if (reallyContains (e.getPosition(), true)
|
||||
&& (e2.eventComponent == this || ! label->isEditable()))
|
||||
{
|
||||
showPopup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue