test rounding policy environment variable
This commit is contained in:
@@ -95,13 +95,25 @@ ColumnLayout {
|
||||
anchors.margins: Appearance.padding.normal
|
||||
spacing: Appearance.spacing.normal
|
||||
|
||||
CustomClippingRect {
|
||||
Layout.preferredHeight: 50
|
||||
Layout.preferredWidth: 50
|
||||
radius: Appearance.rounding.full
|
||||
|
||||
MaterialIcon {
|
||||
anchors.centerIn: parent
|
||||
color: user.index === users.currentIndex ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurfaceVariant
|
||||
fill: 1
|
||||
font.pointSize: Appearance.font.size.extraLarge
|
||||
text: modelData.kind === "x11" ? "tv" : "account_circle"
|
||||
}
|
||||
|
||||
CachingImage {
|
||||
anchors.fill: parent
|
||||
path: modelData.face
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
spacing: Appearance.spacing.small / 2
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
}
|
||||
@@ -52,16 +52,11 @@ RowLayout {
|
||||
CustomRect {
|
||||
id: fill
|
||||
|
||||
anchors.fill: parent
|
||||
antialiasing: false
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
color: root.mainColor
|
||||
implicitHeight: Math.ceil(root.percentage * parent.height)
|
||||
radius: Appearance.rounding.full
|
||||
|
||||
transform: Scale {
|
||||
origin.y: fill.height
|
||||
yScale: Math.max(0.001, root.animatedPercentage)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
//@ pragma Env QSG_RHI_BACKEND=vulkan
|
||||
//@ pragma Env QSG_USE_SIMPLE_ANIMATION_DRIVER=0
|
||||
//@ pragma Env QS_NO_RELOAD_POPUP=1
|
||||
//@ pragma Env QT_SCALE_FACTOR_ROUNDING_POLICY=Round
|
||||
import Quickshell
|
||||
import qs.Modules
|
||||
import qs.Modules.Wallpaper
|
||||
@@ -23,7 +24,6 @@ ShellRoot {
|
||||
|
||||
Lock {
|
||||
id: lock
|
||||
|
||||
}
|
||||
|
||||
Shortcuts {
|
||||
|
||||
Reference in New Issue
Block a user