Skip to content

Commit

Permalink
hotfix: grid
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed Mar 20, 2024
1 parent ea91905 commit 17fe000
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/excalidraw/renderer/staticScene.ts
Expand Up @@ -40,10 +40,10 @@ const strokeGrid = (
) => {
const BOLD_LINE_FREQUENCY = 5;

enum GridLineColor {
Bold = "#cccccc",
Regular = "#e5e5e5",
}
const GridLineColor = {
Bold: "#cccccc",
Regular: "#e5e5e5",
};

const offsetX =
-Math.round(zoom.value / gridSize) * gridSize + (scrollX % gridSize);
Expand Down

0 comments on commit 17fe000

Please sign in to comment.