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

@ -1,5 +1,9 @@
## Plugin Manager (dd-mm-yyyy)
### 1.1.6 (26-01-2026)
- Fix UI scaling for more window
### 1.1.5 (26-01-2026)
- Various UI bugfixes and improvements

View file

@ -1,6 +1,7 @@
{
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
"versions": {
"1.1.6": null,
"1.1.5": {
"api_version": 9,
"commit_sha": "dd1a605",

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
)