Fix hover handling in the timeline
This commit is contained in:
parent
0d61f4bff1
commit
d43607d01c
16 changed files with 127 additions and 67 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import QtMultimedia 5.6
|
||||
import QtQuick 2.6
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Layouts 1.2
|
||||
import im.nheko 1.0
|
||||
|
|
@ -140,9 +140,8 @@ Rectangle {
|
|||
fillMode: Image.Pad
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
TapHandler {
|
||||
onSingleTapped: {
|
||||
switch (button.state) {
|
||||
case "":
|
||||
TimelineManager.timeline.cacheMedia(model.data.id);
|
||||
|
|
@ -159,6 +158,10 @@ Rectangle {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CursorShape {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue