a little bit of this, little bit of that
This commit is contained in:
@@ -61,6 +61,13 @@ Item {
|
||||
case Qt.Key_Left:
|
||||
list.decrementCurrentIndex();
|
||||
break;
|
||||
case Qt.Key_Backspace:
|
||||
// If control is held when backspace is pressed
|
||||
console.log((event.modifiers & 0x4000000).toString(16))
|
||||
if (event.modifiers & 0x4000000) {
|
||||
input.text = ""
|
||||
}
|
||||
break;
|
||||
}}
|
||||
}
|
||||
}
|
||||
@@ -111,6 +118,7 @@ Item {
|
||||
bottom: parent?.bottom
|
||||
}
|
||||
width: (700 - 6*6)/5
|
||||
radius: 10
|
||||
color: "#20181818"
|
||||
ListView.onIsCurrentItemChanged: ListView.isCurrentItem ? selectAnim.start() : deselectAnim.start()
|
||||
property var selectAnim: ColorAnimation {
|
||||
@@ -128,7 +136,6 @@ Item {
|
||||
duration: 200
|
||||
easing.type: Easing.InQuint
|
||||
}
|
||||
radius: 10
|
||||
function execute() {
|
||||
modelData.emoji
|
||||
? Quickshell.clipboardText = modelData.emoji
|
||||
|
||||
Reference in New Issue
Block a user