forked from 1b-agent/opencadstudio-upstream
fix(clipboard): share COPY across drawings
This commit is contained in:
1 parent
217f20d8bc
commit
7a523a0f44
5 files changed
+67
-36
No files matched your search
@@ -92,7 +92,10 @@ impl CadCommand for CopyCommand {
|
||||
match &self.step {
|
||||
Step::Base => {
|
||||
self.step = Step::Placing(pt);
|
||||
CmdResult::NeedPoint
|
||||
CmdResult::CopyToClipboard {
|
||||
handles: self.handles.clone(),
|
||||
base: pt,
|
||||
}
|
||||
}
|
||||
Step::Placing(base) => {
|
||||
let delta = pt - *base;
|
||||
|
||||
Reference in new issue
Block a user