mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2026-08-15 13:03:08 +00:00
fix_moreWindow_scale
This commit is contained in:
parent
712d1276a4
commit
f0b36c742b
3 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue