mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 15:32:50 -05:00
workspace: respect theme corner radius
This commit is contained in:
@@ -376,7 +376,7 @@ Rectangle {
|
|||||||
return SettingsData.showWorkspaceApps ? widgetHeight * 0.7 : widgetHeight * 0.5;
|
return SettingsData.showWorkspaceApps ? widgetHeight * 0.7 : widgetHeight * 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
radius: Math.min(width, height) / 2
|
radius: Theme.cornerRadius
|
||||||
color: isActive ? Theme.primary : isUrgent ? Theme.error : isPlaceholder ? Theme.surfaceTextLight : isHovered ? Theme.outlineButton : Theme.surfaceTextAlpha
|
color: isActive ? Theme.primary : isUrgent ? Theme.error : isPlaceholder ? Theme.surfaceTextLight : isHovered ? Theme.outlineButton : Theme.surfaceTextAlpha
|
||||||
|
|
||||||
border.width: isUrgent && !isActive ? 2 : 0
|
border.width: isUrgent && !isActive ? 2 : 0
|
||||||
|
|||||||
Reference in New Issue
Block a user