Skip to content

Commit

Permalink
fix default angle option
Browse files Browse the repository at this point in the history
  • Loading branch information
stephtr committed Apr 1, 2023
1 parent d54f6a6 commit c5c9c68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/src/lib/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class Settings {
const settings = JSON.parse(savedSettings);

if (
settings.angleUnit === undefined ||
Number.isNaN(+settings.angleUnit) ||
+settings.angleUnit < 0 ||
+settings.angleUnit > 3
Expand Down

0 comments on commit c5c9c68

Please sign in to comment.