mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 16:05:11 +08:00
Merge branch 'fix_tall_toolbar' of https://github.com/fieldOfView/Cura
This commit is contained in:
commit
8b02b4161b
@ -309,10 +309,13 @@ UM.MainWindow
|
|||||||
|
|
||||||
property int mouseX: base.mouseX
|
property int mouseX: base.mouseX
|
||||||
property int mouseY: base.mouseY
|
property int mouseY: base.mouseY
|
||||||
|
property bool tallerThanParent: height > parent.height
|
||||||
|
|
||||||
|
z: 1 // Ensure toolbar and toolpanels are drawn on top
|
||||||
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: tallerThanParent ? undefined : parent.verticalCenter
|
||||||
left: parent.left
|
left: parent.left
|
||||||
}
|
}
|
||||||
visible: CuraApplication.platformActivity && !PrintInformation.preSliced
|
visible: CuraApplication.platformActivity && !PrintInformation.preSliced
|
||||||
|
Loading…
x
Reference in New Issue
Block a user