screen-corners: safeguard shape

This commit is contained in:
Lemmy
2026-03-05 15:03:00 -05:00
parent 879bdce702
commit b9f876ed01
+1
View File
@@ -26,6 +26,7 @@ Item {
anchors.fill: parent
preferredRendererType: Shape.CurveRenderer
enabled: false // Disable mouse input
visible: cornersPath.cornerRadius > 0 && width > 0 && height > 0
ShapePath {
id: cornersPath