mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
transp
This commit is contained in:
parent
8430e769fb
commit
dc8c98add4
@ -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"])
|
||||
|
@ -1066,11 +1066,7 @@ class TranslatorWindow(resizableframeless):
|
||||
topr,
|
||||
str2rgba(
|
||||
globalconfig["backcolor"],
|
||||
max(
|
||||
100 / 255,
|
||||
globalconfig["transparent"]
|
||||
* (not globalconfig["backtransparent"]),
|
||||
),
|
||||
globalconfig["transparent"] * (not globalconfig["backtransparent"]),
|
||||
),
|
||||
)
|
||||
)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user