mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 09:55:24 +00:00
Fixed some ClickHandler bugs, bot keyboard active/pressed
states done, handling enterEvent() for ClickHandler activate.
This commit is contained in:
@@ -83,6 +83,11 @@ void FlatLabel::mouseReleaseEvent(QMouseEvent *e) {
|
||||
}
|
||||
}
|
||||
|
||||
void FlatLabel::enterEvent(QEvent *e) {
|
||||
_lastMousePos = QCursor::pos();
|
||||
updateHover();
|
||||
}
|
||||
|
||||
void FlatLabel::leaveEvent(QEvent *e) {
|
||||
ClickHandler::clearActive(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user