1
0
Fork 0
mirror of synced 2024-05-17 19:03:08 +12:00

Fix compilation problem

This commit is contained in:
Rafał Mikrut 2023-11-19 10:34:44 +01:00
parent 796233c54f
commit dcd30dd6eb

View file

@ -46,8 +46,8 @@ export component MainList {
}
focus_item := FocusScope {
key-released(event) => {
if (!self.visible) {
return;
if (!self.visible || !self.has-focus) {
return accept;
}
if (root.active-tab == CurrentTab.EmptyFiles) {
empty_files.released_key(event);