Merge branch 'fix_tall_toolbar' of https://github.com/fieldOfView/Cura

This commit is contained in:
Jaime van Kessel 2022-05-18 13:29:42 +02:00
commit 8b02b4161b

View File

@ -309,10 +309,13 @@ UM.MainWindow
property int mouseX: base.mouseX
property int mouseY: base.mouseY
property bool tallerThanParent: height > parent.height
z: 1 // Ensure toolbar and toolpanels are drawn on top
anchors
{
verticalCenter: parent.verticalCenter
verticalCenter: tallerThanParent ? undefined : parent.verticalCenter
left: parent.left
}
visible: CuraApplication.platformActivity && !PrintInformation.preSliced