mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Modify the hover behavior by removing the mouse area.
Contributes to CURA-5942.
This commit is contained in:
parent
e2f85fcdc4
commit
75b827d373
1 changed files with 1 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue