mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix disabling of zoom-to-mouse preference in orthographic camera mode
It doesn't work then. Done as a 5-minute-fix.
This commit is contained in:
parent
b2ca6a9224
commit
877e2213de
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ UM.PreferencesPage
|
||||||
text: catalog.i18nc("@action:button", "Zoom toward mouse direction")
|
text: catalog.i18nc("@action:button", "Zoom toward mouse direction")
|
||||||
checked: boolCheck(UM.Preferences.getValue("view/zoom_to_mouse")) && zoomToMouseCheckbox.enabled
|
checked: boolCheck(UM.Preferences.getValue("view/zoom_to_mouse")) && zoomToMouseCheckbox.enabled
|
||||||
onClicked: UM.Preferences.setValue("view/zoom_to_mouse", checked)
|
onClicked: UM.Preferences.setValue("view/zoom_to_mouse", checked)
|
||||||
enabled: UM.Preferences.getValue("general/camera_perspective_mode") !== "orthogonal"
|
enabled: UM.Preferences.getValue("general/camera_perspective_mode") !== "orthographic"
|
||||||
}
|
}
|
||||||
|
|
||||||
//Because there is no signal for individual preferences, we need to manually link to the onPreferenceChanged signal.
|
//Because there is no signal for individual preferences, we need to manually link to the onPreferenceChanged signal.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue