fix: No more debounced refresh() for subtypes.

This commit is contained in:
Daniel J. Geiger
2023-04-28 09:47:03 -05:00
parent 91fe07d9c5
commit ab3467973f
6 changed files with 31 additions and 71 deletions

View File

@@ -257,7 +257,7 @@ const drawElementOnCanvas = (
context.globalAlpha = element.opacity / 100;
const map = getSubtypeMethods(element.subtype);
if (map?.render) {
map.render(element, context, renderConfig.renderCb);
map.render(element, context);
context.globalAlpha = 1;
return;
}