Skip to content

Commit

Permalink
fixed wrong degrees
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyblasta committed Jan 29, 2024
1 parent 40997dc commit 2d41e1d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/style/styletemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ export default function styleTemplate(palette, swStyle) {
const rotateHtml = `<div id="o-draw-style-rotation" class="padding border-bottom"><div class="text-large text-align-center">Rotation</div><div class="padding-smaller o-tooltip active">
<input id="o-draw-style-rotationSlider" type="range" min="-360" max="360" value="${swStyle.objRotation}" step="1">
<div class="text-align-center">
<span class="text-smaller float-left">-360&deg;</span>
<span class="text-smaller float-left">-180&deg;</span>
<span class="text-smaller">0&deg;</span>
<span class="text-smaller float-right">180&deg;</span>
</div>
<div class="text-align-center">
<span class="text-smaller">Graders rotation</span>
<span class="text-smaller float-right">360&deg;</span>
</div>
</div>`;

Expand Down

0 comments on commit 2d41e1d

Please sign in to comment.