mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
replace 9999 radius with pill
This commit is contained in:
@@ -42,8 +42,7 @@ Item {
|
||||
active: root.fill
|
||||
anchors.fill: parent
|
||||
|
||||
sourceComponent: Rectangle {
|
||||
radius: 9999
|
||||
sourceComponent: Circle {
|
||||
color: root.colSecondary
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,10 +40,9 @@ ProgressBar {
|
||||
implicitWidth: valueBarWidth
|
||||
}
|
||||
|
||||
contentItem: Rectangle {
|
||||
contentItem: Pill {
|
||||
id: contentItem
|
||||
anchors.fill: parent
|
||||
radius: 9999
|
||||
color: root.trackColor
|
||||
visible: false
|
||||
|
||||
|
||||
@@ -11,10 +11,9 @@ ScrollBar {
|
||||
active: hovered || pressed
|
||||
property color color: Looks.colors.controlBg
|
||||
|
||||
contentItem: Rectangle {
|
||||
contentItem: Pill {
|
||||
implicitWidth: root.active ? 4 : 2
|
||||
implicitHeight: root.visualSize
|
||||
radius: 9999
|
||||
color: root.color
|
||||
|
||||
opacity: root.policy === ScrollBar.AlwaysOn || (root.active && root.size < 1.0) ? 0.5 : 0
|
||||
|
||||
Reference in New Issue
Block a user