some changes to ui and changed some default setting/s

This commit is contained in:
2023-02-23 01:28:36 +01:00
parent e75af79d1b
commit 896efb84bd
64 changed files with 96 additions and 102 deletions

View File

@@ -201,7 +201,7 @@ local function formspec(tabview, name, tabdata)
if core.settings:get("touchscreen_threshold") ~= nil then
tab_string = tab_string ..
"label[4.25,3.5;" .. fgettext("Touch threshold (px):") .. "]" ..
"dropdown[4.25,3.95;3.5;dd_touchthreshold;0,10,20,30,40,50;" ..
"dropdown[4.25,3.95;3.5;dd_touchthreshold;0,5,10,15,20,30,40,50;" ..
((tonumber(core.settings:get("touchscreen_threshold")) / 10) + 1) ..
"]"
else