mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(NSlider): guard filled CurveRenderer shape against zero-height geometry
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ Slider {
|
||||
Shape {
|
||||
width: bgContainer.fillWidth
|
||||
height: bgContainer.height
|
||||
visible: bgContainer.fillWidth > 0
|
||||
visible: bgContainer.fillWidth > 0 && bgContainer.height > 0
|
||||
preferredRendererType: Shape.CurveRenderer
|
||||
clip: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user