mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
ngraph: move shape safeguarding
This commit is contained in:
+2
-2
@@ -258,7 +258,7 @@ Item {
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
preferredRendererType: Shape.CurveRenderer
|
||||
visible: root.hasData
|
||||
visible: root.hasData && width > 0 && height > 0
|
||||
|
||||
ShapePath {
|
||||
fillGradient: LinearGradient {
|
||||
@@ -300,7 +300,7 @@ Item {
|
||||
Shape {
|
||||
anchors.fill: parent
|
||||
preferredRendererType: Shape.CurveRenderer
|
||||
visible: root.hasData2
|
||||
visible: root.hasData2 && width > 0 && height > 0
|
||||
|
||||
ShapePath {
|
||||
fillGradient: LinearGradient {
|
||||
|
||||
Reference in New Issue
Block a user