Fixed: CPToolTip still shown when closing window asynchronous …

When closing a windows asynchronous, the tooltip of views of the window could stay shown.
Fixed #2110
This commit is contained in:
Alexandre Wilhelm committed 2014-04-29 16:43:32 -07:00
1 parent 07f7ad0a05
commit af37616e48
1 file changed
+1
+1
View File
@@ -80,6 +80,7 @@ var _CPToolTipHeight = 24.0,
[_CPToolTip invalidateCurrentToolTipIfNeeded];
_CPToolTipCurrentToolTip = [_CPToolTip toolTipWithString:[aView toolTip]];
[_CPToolTipCurrentToolTip setPlatformWindow:[[aView window] platformWindow]];
[[aView window] addChildWindow:_CPToolTipCurrentToolTip ordered:CPWindowAbove];
};
_CPToolTipCurrentToolTipTimer = [CPTimer scheduledTimerWithTimeInterval:_CPToolTipDelay