mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
parent
86f9f32a59
commit
05ebf3434b
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ function generateElement(
|
||||||
) {
|
) {
|
||||||
let shape = shapeCache.get(element) || null;
|
let shape = shapeCache.get(element) || null;
|
||||||
if (!shape) {
|
if (!shape) {
|
||||||
|
elementWithCanvasCache.delete(element);
|
||||||
switch (element.type) {
|
switch (element.type) {
|
||||||
case "rectangle":
|
case "rectangle":
|
||||||
shape = generator.rectangle(0, 0, element.width, element.height, {
|
shape = generator.rectangle(0, 0, element.width, element.height, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue