various fixes
This commit is contained in:
5 files changed
+148
-3
No files matched your search
@@ -78,7 +78,10 @@ Window {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
HoverHandler { id: buttonHover; cursorShape: Qt.PointingHandCursor }
|
||||
TapHandler { onTapped: button.clicked() }
|
||||
TapHandler {
|
||||
grabPermissions: PointerHandler.TakeOverForbidden
|
||||
onTapped: button.clicked()
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
@@ -151,7 +154,14 @@ Window {
|
||||
opacity: hover.hovered ? 1 : 0.35
|
||||
Behavior on opacity { NumberAnimation { duration: 120 } }
|
||||
HoverHandler { id: closeHover; cursorShape: Qt.PointingHandCursor }
|
||||
TapHandler { onTapped: controller.setMiniVisible(false) }
|
||||
// The card's DragHandler has CanTakeOverFromAnything so the whole
|
||||
// pill is draggable; without refusing the take-over here, the tiny
|
||||
// press-move jitter of a real click steals this tap into a
|
||||
// startSystemMove() and the close button never fires.
|
||||
TapHandler {
|
||||
grabPermissions: PointerHandler.TakeOverForbidden
|
||||
onTapped: controller.setMiniVisible(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user