mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Merge remote-tracking branch 'Ultimaker/master'
This commit is contained in:
commit
bca7c75cd2
333 changed files with 1935 additions and 1157 deletions
|
@ -86,6 +86,8 @@ UM.PreferencesPage
|
|||
centerOnSelectCheckbox.checked = boolCheck(UM.Preferences.getValue("view/center_on_select"))
|
||||
UM.Preferences.resetPreference("view/invert_zoom");
|
||||
invertZoomCheckbox.checked = boolCheck(UM.Preferences.getValue("view/invert_zoom"))
|
||||
UM.Preferences.resetPreference("view/zoom_to_mouse");
|
||||
zoomToMouseCheckbox.checked = boolCheck(UM.Preferences.getValue("view/zoom_to_mouse"))
|
||||
UM.Preferences.resetPreference("view/top_layer_count");
|
||||
topLayerCountCheckbox.checked = boolCheck(UM.Preferences.getValue("view/top_layer_count"))
|
||||
|
||||
|
@ -355,6 +357,20 @@ UM.PreferencesPage
|
|||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea {
|
||||
width: childrenRect.width;
|
||||
height: childrenRect.height;
|
||||
text: catalog.i18nc("@info:tooltip", "Should zooming move in the direction of the mouse?")
|
||||
|
||||
CheckBox
|
||||
{
|
||||
id: zoomToMouseCheckbox
|
||||
text: catalog.i18nc("@action:button", "Zoom toward mouse direction");
|
||||
checked: boolCheck(UM.Preferences.getValue("view/zoom_to_mouse"))
|
||||
onClicked: UM.Preferences.setValue("view/zoom_to_mouse", checked)
|
||||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea {
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue