task(C2): pixi renderer with incremental element rendering behind adapter
This commit is contained in:
@@ -85,6 +85,14 @@ export class MockAdapter implements RenderAdapter {
|
||||
this.rec('drawElement', [el, layer, style]);
|
||||
}
|
||||
|
||||
removeElement(id: string): void {
|
||||
this.rec('removeElement', [id]);
|
||||
}
|
||||
|
||||
clearElements(): void {
|
||||
this.rec('clearElements', []);
|
||||
}
|
||||
|
||||
drawPreview(el: CADElement | null): void {
|
||||
this.rec('drawPreview', [el]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user