fixed excessive context changed calls by non visible windows

This commit is contained in:
ghidravore 2020-01-21 14:06:50 -05:00
parent 6ae0c1ce23
commit 13caf91a21
3 changed files with 13 additions and 0 deletions

View file

@ -97,6 +97,11 @@ public class WindowActionManager {
}
synchronized void contextChanged(ComponentPlaceholder placeHolder) {
if (!node.isVisible()) {
return;
}
placeHolderForScheduledActionUpdate = placeHolder;
// Buffer the events, as they tend to come in 3s. That might not sound like alot, but