mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
.
This commit is contained in:
parent
b0b78c1e77
commit
03b452b419
@ -16,7 +16,7 @@ class Qlabel_c(QLabel):
|
||||
|
||||
def mouseReleaseEvent(self, event: QMouseEvent):
|
||||
try:
|
||||
if self.underMouse():
|
||||
if self.geometry().contains(self.parent().mapFromGlobal(QCursor.pos())):
|
||||
try:
|
||||
if self.pr:
|
||||
if event.button() == Qt.MouseButton.RightButton:
|
||||
|
Loading…
x
Reference in New Issue
Block a user