forked from 1b-agent/opencadstudio-upstream
fix(automation): selection events are native-only like their caller
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
3cc3ead3a6
commit
f4001b88e2
1 file changed
+1
@@ -436,6 +436,7 @@ impl OpenCADStudio {
|
||||
/// Mirror a real selection change into the automation event stream. The
|
||||
/// plugin host already publishes the V4 selection event; automation clients
|
||||
/// need the same signal instead of polling `state`.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub(super) fn control_record_selection_event(&mut self, handles: &[codec::Handle]) {
|
||||
let (document_id, revision) = {
|
||||
let tab = &self.tabs[self.active_tab];
|
||||
|
||||
Reference in new issue
Block a user