1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

add wallpaper cycling feature

This commit is contained in:
bbedward
2025-08-09 23:50:45 -04:00
parent 01b5ae46b1
commit 42abed62fe
4 changed files with 522 additions and 4 deletions

View File

@@ -28,9 +28,10 @@ Item {
Rectangle {
property int tabCount: tabRepeater.count
property bool isActive: tabBar.currentIndex === index
property bool hasIcon: tabBar.showIcons && modelData.icon
&& modelData.icon.length > 0
property bool hasText: modelData.text && modelData.text.length > 0
property bool hasIcon: tabBar.showIcons && modelData && ("icon" in modelData)
&& modelData.icon && modelData.icon.length > 0
property bool hasText: modelData && ("text" in modelData)
&& modelData.text && modelData.text.length > 0
width: tabBar.equalWidthTabs ? (tabBar.width - tabBar.spacing * (tabCount - 1))
/ tabCount : contentRow.implicitWidth + Theme.spacingM * 2