Skip to content

Commit 5835f46

Browse files
author
Julien
committed
fix(sdk): Repair Circle shapes
1 parent 5f99262 commit 5835f46

File tree

1 file changed

+1
-1
lines changed
  • engine/modules/entities/src/main/resources/view/entity-module

1 file changed

+1
-1
lines changed

engine/modules/entities/src/main/resources/view/entity-module/Circle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class Circle extends Shape {
3333
this.graphics.beginFill(state.fillColor, state.fillAlpha)
3434
}
3535
this.graphics.lineStyle(globalData.atLeastOnePixel(state.lineWidth), state.lineColor)
36-
this.graphics.drawCircle(0, 0, state.radius * globalData.coeff)
36+
this.graphics.drawCircle(0, 0, state.radius * globalData.toWorldUnits)
3737
if (state.fillColor !== null) {
3838
this.graphics.endFill()
3939
}

0 commit comments

Comments
 (0)