fix(ui): do not clear buffer when rendering "real" objects

This commit is contained in:
psychedelicious 2024-08-20 12:50:43 +10:00
parent c7e5f24704
commit 8ebcf79b1a

View File

@ -309,9 +309,6 @@ export class CanvasObjectRenderer {
didRender = await renderer.update(objectState, force || isFirstRender); didRender = await renderer.update(objectState, force || isFirstRender);
} }
// We should always clear the buffer when rendering a "real" object
this.clearBuffer();
if (didRender && this.konva.objectGroup.isCached()) { if (didRender && this.konva.objectGroup.isCached()) {
this.konva.objectGroup.clearCache(); this.konva.objectGroup.clearCache();
} }