diff --git a/LunaTranslator/LunaTranslator/gui/setting_display_ui.py b/LunaTranslator/LunaTranslator/gui/setting_display_ui.py index ebfd5bdc..6608c9a8 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_display_ui.py +++ b/LunaTranslator/LunaTranslator/gui/setting_display_ui.py @@ -34,7 +34,7 @@ def createhorizontal_slider(self): self.horizontal_slider = QSlider() self.horizontal_slider.setMaximum(100) - self.horizontal_slider.setMinimum(1) + self.horizontal_slider.setMinimum(0) self.horizontal_slider.setOrientation(Qt.Orientation.Horizontal) self.horizontal_slider.setValue(0) self.horizontal_slider.setValue(globalconfig["transparent"]) diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index 9e4301a0..ab2848eb 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -1066,11 +1066,7 @@ class TranslatorWindow(resizableframeless): topr, str2rgba( globalconfig["backcolor"], - max( - 100 / 255, - globalconfig["transparent"] - * (not globalconfig["backtransparent"]), - ), + globalconfig["transparent"] * (not globalconfig["backtransparent"]), ), ) ) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index a975e618..cbe83d31 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 30) -set(VERSION_PATCH 1) +set(VERSION_PATCH 2) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)