progress save

This commit is contained in:
kossLAN 2025-07-11 13:39:16 -04:00
parent e359e006c7
commit 41ccd5c460
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
9 changed files with 164 additions and 287 deletions

View file

@ -1,6 +1,5 @@
import QtQuick
import Quickshell.Widgets
import Qt5Compat.GraphicalEffects
import ".."
Item {

View file

@ -29,10 +29,11 @@ Item {
property bool checked: index === root.currentIndex
onClicked: {
currentIndex = index;
currentIndex = button.index;
root.updateSelectionBarPosition();
}
// Change to SVG Icon
FontIcon {
text: button.modelData
fill: {
@ -79,6 +80,7 @@ Item {
}
}
// Change to icons being greyed out by default but selected is full white
function updateSelectionBarPosition() {
if (buttonRepeater.count > 0) {
var buttonWidth = buttonGroup.width / buttonRepeater.count;