fix_moreWindow_scale

This commit is contained in:
Loup-Garou911XD 2026-01-26 16:05:30 +05:30
parent 712d1276a4
commit f0b36c742b
3 changed files with 8 additions and 2 deletions

View file

@ -64,9 +64,10 @@ def _regexp_friendly_class_name_shortcut(string): return string.replace(".", "\\
def _by_scale(a, b, c):
u = _uiscale()
return (
a if _uiscale is babase.UIScale.SMALL else
b if _uiscale is babase.UIScale.MEDIUM else
a if u is babase.UIScale.SMALL else
b if u is babase.UIScale.MEDIUM else
c
)