forked from 1b-agent/opencadstudio-upstream
ui: route OSNAP capture aperture setting
This commit is contained in:
1 parent
5108e74163
commit
8669631dd9
1 file changed
+6
@@ -6330,6 +6330,12 @@ impl OpenCADStudio {
|
||||
}
|
||||
Task::none()
|
||||
}
|
||||
Message::DraftingSettingsOsnapApertureChanged(value) => {
|
||||
if let Some(state) = &mut self.drafting_settings_state {
|
||||
state.osnap_aperture_input = value;
|
||||
}
|
||||
Task::none()
|
||||
}
|
||||
Message::DraftingSettingsToggleOsnap => {
|
||||
if let Some(state) = &mut self.drafting_settings_state {
|
||||
state.osnap_on = !state.osnap_on;
|
||||
|
||||
Reference in new issue
Block a user