bar: fix popout wrapping and morphing
This commit is contained in:
parent
023d00d658
commit
1d3b59e33d
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ Shape {
|
|||
|
||||
BarPopouts.Background {
|
||||
wrapper: panels.popouts
|
||||
invertBottomRounding: wrapper.y + wrapper.height - BorderConfig.rounding >= root.height
|
||||
invertBottomRounding: wrapper.y + wrapper.height >= root.height
|
||||
|
||||
startX: 0
|
||||
startY: wrapper.y - rounding
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ Item {
|
|||
anchors.verticalCenter: parent.top
|
||||
anchors.verticalCenterOffset: {
|
||||
const off = Popouts.currentCenter - BorderConfig.thickness;
|
||||
const diff = root.height - Math.floor(off + implicitHeight / 2 - BorderConfig.rounding);
|
||||
const diff = root.height - Math.floor(off + implicitHeight / 2);
|
||||
if (diff < 0)
|
||||
return off + diff;
|
||||
return off;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue