Add Mouse Binding (#1092)

This commit is contained in:
slprime authored and GitHub committed 2026-10-25 02:49:38 +03:00
1 parent ebe83f970f
commit e9a3a494d5
24 files changed
+303 -43

No files matched your search

@@ -162,6 +162,19 @@ public class WidgetContainer extends Widget {
}
@Override
public boolean onHotkeyPressed() {
for (int index = this.widgets.size() - 1; index >= 0; index--) {
final Widget widget = this.widgets.get(index);
if (widget.onHotkeyPressed()) {
return true;
}
}
return false;
}
@Override
public boolean isFocused() {
return this.isFocused;