mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 02:08:12 +08:00
Fix zoom with scroll preference reset to default correctly (#1304)
This commit is contained in:
@@ -35,6 +35,7 @@ impl MessageHandler<PreferencesMessage, ()> for PreferencesMessageHandler {
|
|||||||
}
|
}
|
||||||
PreferencesMessage::ResetToDefaults => {
|
PreferencesMessage::ResetToDefaults => {
|
||||||
refresh_dialog(responses);
|
refresh_dialog(responses);
|
||||||
|
responses.add(KeyMappingMessage::ModifyMapping(MappingVariant::Default));
|
||||||
|
|
||||||
*self = Self::default()
|
*self = Self::default()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user