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

View File

@ -44,7 +44,7 @@ class QUnFrameWindow(resizableframeless):
muteprocessignal = pyqtSignal() muteprocessignal = pyqtSignal()
ocr_once_signal = pyqtSignal() ocr_once_signal = pyqtSignal()
resizesignal = pyqtSignal(QSize) resizesignal = pyqtSignal(QSize)
move_signal=pyqtSignal(QPoint) move_signal = pyqtSignal(QPoint)
def hookfollowsignalsolve(self, code, other): def hookfollowsignalsolve(self, code, other):
if self._move_drag: if self._move_drag:
@ -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"]),
),
), ),
) )
) )