do not generate freedraw items

This commit is contained in:
zsviczian 2022-11-20 19:36:32 +01:00 committed by GitHub
parent 97273f4e4e
commit 8028eb1d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -775,12 +775,11 @@ export const renderElement = (
drawElementOnCanvas(element, rc, context, renderConfig); drawElementOnCanvas(element, rc, context, renderConfig);
context.restore(); context.restore();
} else { } else {
const elementWithCanvas = generateElementWithCanvas( /*const elementWithCanvas = generateElementWithCanvas(
element, element,
renderConfig, renderConfig,
); );
console.log(elementWithCanvas.theme); drawElementFromCanvas(elementWithCanvas, rc, context, renderConfig);*/
//drawElementFromCanvas(elementWithCanvas, rc, context, renderConfig);
} }
break; break;