various sussy fixes

This commit is contained in:
2023-02-23 13:21:59 +01:00
parent 1aab983730
commit fc4d425dd6
4 changed files with 5 additions and 5 deletions

View File

@@ -201,8 +201,8 @@ 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,5,10,15,20,30,40,50;" ..
((tonumber(core.settings:get("touchscreen_threshold")) / 10) + 1) ..
"dropdown[4.25,3.95;3.5;dd_touchthreshold;0,5,10,15,20,25,30,35,40,45,50;" ..
((tonumber(core.settings:get("touchscreen_threshold")) / 5) + 1) ..
"]"
else
tab_string = tab_string ..