Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
perliedman committed Dec 27, 2024
1 parent 058d7f1 commit 730ac79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/PrintArea.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ export default function PrintArea() {
getHeight(paperExtent),
].map((x) => x * (crs.scale / course.printScale));

const isValide =
const isValid =
pageSizeMm[0] >= printAreaSizeMm[0] &&
pageSizeMm[1] >= printAreaSizeMm[1];
const boxStyle = new Style({
stroke: new Stroke({
color: isValide ? "#444" : "#FF0000",
color: isValid ? "#444" : "#FF0000",
lineDash: [6, 10],
lineCap: "square",
width: 3,
Expand Down

0 comments on commit 730ac79

Please sign in to comment.