mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-23 21:16:34 +01:00
File diff suppressed because it is too large
Load Diff
@@ -466,8 +466,8 @@ const drawElementOnCanvas = (
|
||||
context.fill(path);
|
||||
} else {
|
||||
polygons.forEach((polygon, index) => {
|
||||
// context.fillStyle =
|
||||
// DEBUG_FREEDRAW_COLORS[index % DEBUG_FREEDRAW_COLORS.length];
|
||||
context.fillStyle =
|
||||
DEBUG_FREEDRAW_COLORS[index % DEBUG_FREEDRAW_COLORS.length];
|
||||
const polygonPath = new Path2D(getSvgPathFromStroke(polygon));
|
||||
context.fill(polygonPath);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user