This commit is contained in:
恍兮惚兮 2024-06-14 23:53:16 +08:00
parent b0b78c1e77
commit 03b452b419

View File

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