diff --git a/build.json b/build.json index 13b6675..271d6a5 100644 --- a/build.json +++ b/build.json @@ -13,6 +13,6 @@ "author": "gambiter", "name": "GUIFlash", "description": "Flash components for use in python mods.", - "version": "0.6.3" + "version": "0.6.4" } } diff --git a/res/scripts/client/gui/mods/gambiter/__init__.py b/res/scripts/client/gui/mods/gambiter/__init__.py index 8add9c8..a7a207a 100644 --- a/res/scripts/client/gui/mods/gambiter/__init__.py +++ b/res/scripts/client/gui/mods/gambiter/__init__.py @@ -2,7 +2,7 @@ from flash import GUIFlash -GUIFLASH_VERSION = '0.6.3' +GUIFLASH_VERSION = '0.6.4' def getVersion(): diff --git a/res/scripts/client/gui/mods/gambiter/flash.py b/res/scripts/client/gui/mods/gambiter/flash.py index da92a20..ddce6e9 100644 --- a/res/scripts/client/gui/mods/gambiter/flash.py +++ b/res/scripts/client/gui/mods/gambiter/flash.py @@ -142,7 +142,8 @@ def delete(self, alias): def resize(self): if self.ui is not None: width, height = GUI.screenResolution() - self.ui.as_resizeS(width, height) + scale = float(ServicesLocator.settingsCore.interfaceScale.get()) + self.ui.as_resizeS(int(width / scale), int(height / scale)) def cursor(self, isShow): if self.ui is not None: