fix: lock pfp incorrect height
This commit is contained in:
parent
f5692c485c
commit
58d2232c4a
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ Item {
|
||||||
|
|
||||||
implicitWidth: Math.round(centerWidth * 0.7)
|
implicitWidth: Math.round(centerWidth * 0.7)
|
||||||
implicitHeight: {
|
implicitHeight: {
|
||||||
const bounds = shape.pathBounds();
|
shape.height; // Force update when shape height changes
|
||||||
return bounds.height - bounds.y;
|
return shape.pathBounds().height;
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialShape {
|
MaterialShape {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue