From e6027313e97138c21f014f708b6201bc4a64c350 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Fri, 14 May 2021 17:43:08 +0200 Subject: [PATCH] ConfigDialog: Gesture range needs to be a Geom Regression since #7664 Fix #7681 --- frontend/ui/widget/configdialog.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/ui/widget/configdialog.lua b/frontend/ui/widget/configdialog.lua index abb76114e..e8f45c079 100644 --- a/frontend/ui/widget/configdialog.lua +++ b/frontend/ui/widget/configdialog.lua @@ -1439,13 +1439,13 @@ function ConfigDialog:onTapCloseMenu(arg, ges_ev) end function ConfigDialog:onSwipeCloseMenu(arg, ges_ev) - local range = { + local range = Geom:new{ x = DTAP_ZONE_CONFIG.x * Screen:getWidth(), y = DTAP_ZONE_CONFIG.y * Screen:getHeight(), w = DTAP_ZONE_CONFIG.w * Screen:getWidth(), h = DTAP_ZONE_CONFIG.h * Screen:getHeight(), } - local range_ext = { + local range_ext = Geom:new{ x = DTAP_ZONE_CONFIG_EXT.x * Screen:getWidth(), y = DTAP_ZONE_CONFIG_EXT.y * Screen:getHeight(), w = DTAP_ZONE_CONFIG_EXT.w * Screen:getWidth(),