fix: file dialog Tokens access on non-item

This commit is contained in:
2 * r + 2 * t 2026-04-29 20:34:30 +10:00
parent 9af39b6aa9
commit f3bdb3b17a

View file

@ -18,7 +18,7 @@ Item {
ShapePath {
id: path
readonly property real rounding: Tokens.rounding.medium
readonly property real rounding: root.Tokens.rounding.medium
readonly property bool flatten: root.implicitHeight < rounding * 2
readonly property real roundingY: flatten ? root.implicitHeight / 2 : rounding