mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:45:57 +08: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
@ -409,7 +409,7 @@ UM.PreferencesPage
|
||||
text: catalog.i18nc("@action:button", "Zoom toward mouse direction")
|
||||
checked: boolCheck(UM.Preferences.getValue("view/zoom_to_mouse")) && zoomToMouseCheckbox.enabled
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user