mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Modify the hover behavior by removing the mouse area.
Contributes to CURA-5942.
This commit is contained in:
parent
e2f85fcdc4
commit
75b827d373
@ -16,6 +16,7 @@ Button
|
|||||||
leftPadding: UM.Theme.getSize("thick_margin").width
|
leftPadding: UM.Theme.getSize("thick_margin").width
|
||||||
rightPadding: UM.Theme.getSize("thick_margin").width
|
rightPadding: UM.Theme.getSize("thick_margin").width
|
||||||
checkable: true
|
checkable: true
|
||||||
|
hoverEnabled: true
|
||||||
|
|
||||||
property var outputDevice: null
|
property var outputDevice: null
|
||||||
property var printerTypesList: []
|
property var printerTypesList: []
|
||||||
@ -86,14 +87,6 @@ Button
|
|||||||
Cura.MachineManager.setActiveMachine(model.id)
|
Cura.MachineManager.setActiveMachine(model.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea
|
|
||||||
{
|
|
||||||
id: mouseArea
|
|
||||||
anchors.fill: parent
|
|
||||||
onPressed: mouse.accepted = false
|
|
||||||
hoverEnabled: true
|
|
||||||
}
|
|
||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
target: outputDevice
|
target: outputDevice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user