Skip to content

Commit

Permalink
convert var to const
Browse files Browse the repository at this point in the history
since `PI_OVER_180` cannot change ...
  • Loading branch information
hamidb80 committed Jul 2, 2023
1 parent a8959e1 commit 09fd0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @license
*/
var PI_OVER_180 = Math.PI / 180;
const PI_OVER_180 = Math.PI / 180;
/**
* @namespace Konva
*/
Expand Down

0 comments on commit 09fd0de

Please sign in to comment.