popouts: use reals for rounding
So it looks better
This commit is contained in:
parent
9567992294
commit
3e8b7240ad
2 changed files with 4 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ Shape {
|
|||
|
||||
required property real wrapperWidth
|
||||
required property real realWrapperHeight
|
||||
readonly property int rounding: BorderConfig.rounding
|
||||
readonly property int roundingY: Math.min(rounding, realWrapperHeight / 2)
|
||||
readonly property real rounding: BorderConfig.rounding
|
||||
readonly property real roundingY: Math.min(rounding, realWrapperHeight / 2)
|
||||
readonly property real wrapperHeight: realWrapperHeight - 1 // Pixel issues :sob:
|
||||
|
||||
preferredRendererType: Shape.CurveRenderer
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ Shape {
|
|||
|
||||
required property real realWrapperWidth
|
||||
required property real wrapperHeight
|
||||
readonly property int rounding: BorderConfig.rounding
|
||||
readonly property int roundingX: Math.min(rounding, realWrapperWidth / 2)
|
||||
readonly property real rounding: BorderConfig.rounding
|
||||
readonly property real roundingX: Math.min(rounding, realWrapperWidth / 2)
|
||||
readonly property real wrapperWidth: realWrapperWidth - 1 // Pixel issues :sob:
|
||||
|
||||
preferredRendererType: Shape.CurveRenderer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue