mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-08 02:37:45 +02:00
[eric] canvas: multi-drag follower writer targets data-select-id, the attribute cards actually stamp
This commit is contained in:
@@ -17,7 +17,7 @@ export function useLiveMultiDrag(): void {
|
||||
for (const id of update.ids) {
|
||||
let el = els.get(id);
|
||||
if (el === undefined) {
|
||||
el = document.querySelector<HTMLElement>(`[data-osw-card="${CSS.escape(id)}"]`);
|
||||
el = document.querySelector<HTMLElement>(`[data-select-id="${CSS.escape(id)}"]`);
|
||||
els.set(id, el);
|
||||
}
|
||||
if (el) el.style.translate = value;
|
||||
|
||||
Reference in New Issue
Block a user