a little bit of this, little bit of that

This commit is contained in:
2026-04-19 16:54:58 -07:00
parent 5b8d82a934
commit c25286801a
4 changed files with 18 additions and 4 deletions

View File

@@ -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