mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 01:10:54 +01:00
Clipboard: pass the document to used() in show_merged_colors
This commit is contained in:
1 parent
386b2e9d30
commit
f2feee8923
1 file changed
+1
-1
@@ -1150,7 +1150,7 @@ impl Clipboard {
|
||||
if same_doc {
|
||||
return;
|
||||
}
|
||||
let used = self.used();
|
||||
let used = self.used(d);
|
||||
let colors: BTreeMap<String, Color> = self
|
||||
.conflicts(d, &used)
|
||||
.into_iter()
|
||||
|
||||
Reference in new issue
Block a user