Set minimal SCALE value to 0.5
This commit is contained in:
parent
35011d7e7b
commit
64ccf8fdca
|
@ -3,6 +3,7 @@ VERSION = "@PROJECT_VERSION@"
|
|||
MOD_VERSION = "2"
|
||||
|
||||
SCALE = tonumber(os.getenv("LITE_SCALE") or os.getenv("GDK_SCALE") or os.getenv("QT_SCALE_FACTOR")) or SCALE
|
||||
SCALE = math.max(SCALE, 0.5)
|
||||
PATHSEP = package.config:sub(1, 1)
|
||||
|
||||
EXEDIR = EXEFILE:match("^(.+)[/\\][^/\\]+$")
|
||||
|
|
Loading…
Reference in New Issue