mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Lots of refactoring of the Expression and relative coordinate classes. This has changed some of the semantics that were in place, so any early adopters who had been playing with RelativeRectangles may need to check their expressions.
This commit is contained in:
parent
e17dfb559f
commit
f01340e4aa
39 changed files with 2050 additions and 1747 deletions
|
|
@ -65,6 +65,8 @@ public:
|
|||
|
||||
void componentBeingDeleted (Component& comp)
|
||||
{
|
||||
ComponentMovementWatcher::componentBeingDeleted (comp);
|
||||
|
||||
if (component == &comp || comp.isParentOf (component))
|
||||
cancel();
|
||||
}
|
||||
|
|
@ -201,9 +203,14 @@ void ModalComponentManager::handleAsyncUpdate()
|
|||
if (! item->isActive)
|
||||
{
|
||||
for (int j = item->callbacks.size(); --j >= 0;)
|
||||
{
|
||||
item->callbacks.getUnchecked(j)->modalStateFinished (item->returnValue);
|
||||
|
||||
stack.remove (i);
|
||||
if (! stack.contains (item))
|
||||
break;
|
||||
}
|
||||
|
||||
stack.removeObject (item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue