mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unnecessary check
This commit is contained in:
@@ -286,7 +286,7 @@ public abstract class AbstractExpandableItemsHandler<KeyType, ComponentType exte
|
||||
}
|
||||
boolean focused = SystemInfo.isWindows || isFocused(owner);
|
||||
for (Window other : owner.getOwnedWindows()) {
|
||||
if (!focused && !SystemInfo.isWindows) {
|
||||
if (!focused) {
|
||||
focused = other.isFocused();
|
||||
}
|
||||
if (popup != other && other.isVisible() && bounds.x + 10 >= other.getX() && bounds.intersects(other.getBounds())) {
|
||||
|
||||
Reference in New Issue
Block a user