This commit is contained in:
恍兮惚兮 2024-07-15 07:22:23 +08:00
parent f5e91bbeff
commit f070c4a3a9

View File

@ -586,7 +586,7 @@ class QUnFrameWindow(resizableframeless):
self.initvalues() self.initvalues()
self.initsignals() self.initsignals()
self._TitleLabel = QLabel(self) self._TitleLabel = QLabel(self)
self._TitleLabel.setObjectName('_TitleLabel') self._TitleLabel.setObjectName("_TitleLabel")
self._TitleLabel.setMouseTracking(True) self._TitleLabel.setMouseTracking(True)
self.addbuttons() self.addbuttons()
self.translate_text = Textbrowser(self) self.translate_text = Textbrowser(self)
@ -670,7 +670,11 @@ class QUnFrameWindow(resizableframeless):
topr, topr,
str2rgba( str2rgba(
globalconfig["backcolor"], globalconfig["backcolor"],
globalconfig["transparent"] * (not globalconfig["backtransparent"]), max(
100 / 255,
globalconfig["transparent"]
* (not globalconfig["backtransparent"]),
),
), ),
) )
) )