mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
progress save
This commit is contained in:
parent
e359e006c7
commit
41ccd5c460
9 changed files with 164 additions and 287 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import QtQuick
|
||||
import Quickshell.Widgets
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import ".."
|
||||
|
||||
Item {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue