Skip to content

Commit

Permalink
fix bug with angle
Browse files Browse the repository at this point in the history
  • Loading branch information
tizayi committed Nov 2, 2023
1 parent f58731f commit d39346b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-entry/beamProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function BeampropertiesDataEntry() {
newUnits === AngleUnits.radians &&
angleUnits === AngleUnits.degrees
) {
newAngle = MathUtils.radToDeg(newAngle);
newAngle = MathUtils.degToRad(newAngle);
}
updateConfig({
angle: newAngle,
Expand Down

0 comments on commit d39346b

Please sign in to comment.