Skip to content

Commit

Permalink
zero to 360 rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyblasta committed Jan 29, 2024
1 parent 2d41e1d commit 6dac34b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/style/styletemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,11 @@ export default function styleTemplate(palette, swStyle) {
</div></div>`;

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">-180&deg;</span>
<span class="text-smaller">0&deg;</span>
<span class="text-smaller float-right">180&deg;</span>
</div>
<input id="o-draw-style-rotationSlider" type="range" min="0" max="720" value="${swStyle.objRotation}" step="1">
<div class="text-align-center">
<span class="text-smaller float-left">0&deg;</span>
<span class="text-smaller">Graders rotation</span>
<span class="text-smaller float-right">360&deg;</span>
</div>
</div>`;

Expand Down

0 comments on commit 6dac34b

Please sign in to comment.