mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Make quick settings page indicator clickable
The page dots were non-interactive so clicks fell through to the swipe area and closed the drawer. Set interactive:true and sync the index back to the SwipeView so clicking a dot switches pages.
This commit is contained in:
parent
73b4ecea57
commit
cf5fb25bae
1 changed files with 2 additions and 0 deletions
|
|
@ -197,6 +197,8 @@ Item {
|
|||
sourceComponent: PageIndicator {
|
||||
count: swipeView.count
|
||||
currentIndex: swipeView.currentIndex
|
||||
interactive: true
|
||||
onCurrentIndexChanged: swipeView.currentIndex = currentIndex
|
||||
|
||||
delegate: Rectangle {
|
||||
implicitWidth: 8
|
||||
|
|
|
|||
Loading…
Reference in a new issue