mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:39:03 +08:00
Sidebar tooltips are now visible again
CL-541
This commit is contained in:
parent
b6ebb804ba
commit
4cb7bc03ad
@ -383,6 +383,29 @@ UM.MainWindow
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loader
|
||||||
|
{
|
||||||
|
id: main
|
||||||
|
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
top: topbar.bottom
|
||||||
|
bottom: parent.bottom
|
||||||
|
left: parent.left
|
||||||
|
right: sidebar.left
|
||||||
|
}
|
||||||
|
|
||||||
|
MouseArea
|
||||||
|
{
|
||||||
|
visible: UM.Controller.activeStage.mainComponent != ""
|
||||||
|
anchors.fill: parent
|
||||||
|
acceptedButtons: Qt.AllButtons
|
||||||
|
onWheel: wheel.accepted = true
|
||||||
|
}
|
||||||
|
|
||||||
|
source: UM.Controller.activeStage.mainComponent
|
||||||
|
}
|
||||||
|
|
||||||
Loader
|
Loader
|
||||||
{
|
{
|
||||||
id: sidebar
|
id: sidebar
|
||||||
@ -443,29 +466,6 @@ UM.MainWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader
|
|
||||||
{
|
|
||||||
id: main
|
|
||||||
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
top: topbar.bottom
|
|
||||||
bottom: parent.bottom
|
|
||||||
left: parent.left
|
|
||||||
right: sidebar.left
|
|
||||||
}
|
|
||||||
|
|
||||||
MouseArea
|
|
||||||
{
|
|
||||||
visible: UM.Controller.activeStage.mainComponent != ""
|
|
||||||
anchors.fill: parent
|
|
||||||
acceptedButtons: Qt.AllButtons
|
|
||||||
onWheel: wheel.accepted = true
|
|
||||||
}
|
|
||||||
|
|
||||||
source: UM.Controller.activeStage.mainComponent
|
|
||||||
}
|
|
||||||
|
|
||||||
UM.MessageStack
|
UM.MessageStack
|
||||||
{
|
{
|
||||||
anchors
|
anchors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user