This commit is contained in:
恍兮惚兮 2024-08-23 15:35:31 +08:00
parent 8430e769fb
commit dc8c98add4
3 changed files with 3 additions and 7 deletions

View File

@ -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"])

View File

@ -1066,11 +1066,7 @@ class TranslatorWindow(resizableframeless):
topr,
str2rgba(
globalconfig["backcolor"],
max(
100 / 255,
globalconfig["transparent"]
* (not globalconfig["backtransparent"]),
),
globalconfig["transparent"] * (not globalconfig["backtransparent"]),
),
)
)

View File

@ -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)