zsviczian hace 2 años
padre
commit
2be34b770a
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/renderer/renderElement.ts

+ 4 - 4
src/renderer/renderElement.ts

@@ -221,14 +221,14 @@ const drawElementOnCanvas = (
       context.fillStyle = element.strokeColor;
 
       const path = getFreeDrawPath2D(element) as Path2D;
-      const fillShape = getShapeForElement(element);
+      /*const fillShape = getShapeForElement(element);
 
       if (fillShape) {
         rc.draw(fillShape);
-      }
+      }*/
 
-      //context.fillStyle = element.strokeColor;
-      //context.fill(path);
+      context.fillStyle = element.strokeColor;
+      context.fill(path);
 
       context.restore();
       break;