forked from Shinonome/dots-hyprland
booru: more sexy
This commit is contained in:
@@ -28,6 +28,14 @@ Rectangle {
|
||||
}
|
||||
event.accepted = true;
|
||||
}
|
||||
if (event.modifiers === Qt.ControlModifier) {
|
||||
if (event.key === Qt.Key_Tab) {
|
||||
root.currentTab = (root.currentTab + 1) % root.tabButtonList.length;
|
||||
} else if (event.key === Qt.Key_Backtab) {
|
||||
root.currentTab = (root.currentTab - 1 + root.tabButtonList.length) % root.tabButtonList.length;
|
||||
}
|
||||
event.accepted = true;
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
||||
@@ -146,8 +146,8 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Placeholder when list is empty
|
||||
Item {
|
||||
|
||||
Item { // Placeholder when list is empty
|
||||
visible: taskList.length === 0
|
||||
anchors.fill: parent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user