Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 4745d9d

Browse files
author
benoit.fonty
committed
[fix] msis-1351 : split/join gesture failure
1 parent c511013 commit 4745d9d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/renderer/svg/SVGRenderer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ export function drawModel(context, model, stroker) {
184184
context.selectAll(update.id ? `#${update.id}` : 'svg').attr(update.name, null);
185185
break;
186186
case 'SET_ATTRIBUTE': {
187+
// We ignore setAttributes on the svg element because we handle the resize elsewhere to prevent a blink effect
188+
// that occurs if we are waiting for the server to resize.
189+
if (update.id) {
190+
context.selectAll(`#${update.id}`).attr(update.name, update.value);
191+
}
187192
break;
188193
}
189194
default:

0 commit comments

Comments
 (0)