Skip to content

Commit

Permalink
fix: number position
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepbox8646 committed Jun 17, 2024
1 parent 81a93c5 commit 399a0ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/mod-math/src/widgets/polarPlane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export class PolarPlane extends Widget {
if (this.style.textsOnCircle) {
this.textsOnCircle.push(
new Text(`${(i / 180).toFixed(2)}蟺`, {
x: this.radius.value * Math.sin(i * Math.PI / 180),
y: this.radius.value * Math.cos(i * Math.PI / 180),
x: this.radius.value * Math.cos(i * Math.PI / 180),
y: this.radius.value * Math.sin(i * Math.PI / 180),
style: {
fontSize: this.style.textSize.value,
},
Expand Down

0 comments on commit 399a0ae

Please sign in to comment.