Fixed a bunch of border.width who used to have inverted logic (math.min vs max)

This commit is contained in:
quadbyte 2025-08-10 23:52:31 -04:00
parent ff2bbe60a4
commit c7a07127d8
11 changed files with 15 additions and 17 deletions

View file

@ -83,7 +83,7 @@ Slider {
radius: width * 0.5
color: root.pressed ? Colors.surfaceVariant : Colors.surface
border.color: Colors.accentPrimary
border.width: Math.min(1, Style.borderThick * scaling)
border.width: Math.max(1, Style.borderThick * scaling)
// Press feedback halo (using accent color, low opacity)
Rectangle {
anchors.centerIn: parent