mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 17:48:12 +08:00
Fix zoom with scroll preference reset to default correctly (#1304)
This commit is contained in:
committed by
Keavon Chambers
parent
5b6db0a762
commit
a92f1ecab0
@@ -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