From 5adb4bdedaff22e1ace21b3eacc0f3b69900f465 Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Tue, 30 Jan 2024 04:00:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B0=D0=BD=D1=83?= =?UTF-8?q?=D0=BB=20=D1=85=D1=83=D0=B5=D0=B2=D0=BE=D0=B5=20=D0=B2=D1=8B?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=84=D0=BE=D0=BD=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Finder.app/Main.lua | 6 +++++- Libraries/GUI.lua | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Applications/Finder.app/Main.lua b/Applications/Finder.app/Main.lua index d45cde10..a17fb490 100644 --- a/Applications/Finder.app/Main.lua +++ b/Applications/Finder.app/Main.lua @@ -528,7 +528,11 @@ local function updateIconField() saveConfig() updateSidebar() workspace:draw() - end + end + else + if not config.gridMode then + GUI.tableEventHandler(workspace, self, e1, e2, e3, e4, e5, ...) + end end end diff --git a/Libraries/GUI.lua b/Libraries/GUI.lua index b5b366c2..fbfd2306 100755 --- a/Libraries/GUI.lua +++ b/Libraries/GUI.lua @@ -5078,6 +5078,7 @@ function GUI.table( itemSelectionForeground = itemSelectionForeground } + table.blockScreenEvents = true table.itemHeight = itemHeight table.selectedRows = {}