|
|
@ -172,8 +172,12 @@ Page { |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NOTE(Nico): We want to prevent the touch areas from overlapping. For some reason we need to add 1px of padding for that... |
|
|
|
|
|
|
|
Item { |
|
|
|
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
|
|
anchors.margins: 1 |
|
|
|
|
|
|
|
|
|
|
|
TapHandler { |
|
|
|
TapHandler { |
|
|
|
margin: -Nheko.paddingSmall |
|
|
|
|
|
|
|
acceptedButtons: Qt.RightButton |
|
|
|
acceptedButtons: Qt.RightButton |
|
|
|
onSingleTapped: { |
|
|
|
onSingleTapped: { |
|
|
|
if (!TimelineManager.isInvite) |
|
|
|
if (!TimelineManager.isInvite) |
|
|
@ -181,6 +185,7 @@ Page { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
gesturePolicy: TapHandler.ReleaseWithinBounds |
|
|
|
gesturePolicy: TapHandler.ReleaseWithinBounds |
|
|
|
|
|
|
|
acceptedDevices: PointerDevice.Mouse | PointerDevice.Stylus | DeviceType.TouchPad |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
TapHandler { |
|
|
|
TapHandler { |
|
|
@ -196,7 +201,9 @@ Page { |
|
|
|
HoverHandler { |
|
|
|
HoverHandler { |
|
|
|
id: hovered |
|
|
|
id: hovered |
|
|
|
|
|
|
|
|
|
|
|
margin: -Nheko.paddingSmall |
|
|
|
acceptedDevices: PointerDevice.Mouse | PointerDevice.Stylus | DeviceType.TouchPad |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|