Skip to content

Commit

Permalink
allow using angles
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveduran committed Oct 25, 2024
1 parent 4ff813e commit a587351
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sketch2.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,11 @@ function drawHtmlLayer(layerConfig, layerId, totalLayers){
<input data-i18n="distanceTitle" type="number" id="figureDistance-${layerId}" name="figureDistance" value="${layerConfig.distance}" oninput="onChangeDefault(${layerId}, 'distance', value)" title="${languages[preferredLanguage].distanceTitle}"></input>
<input class="input-slider" type="range" min="0" max="400" id="figureDistance-${layerId}" name="figureDistance" value=${layerConfig.distance} onchange="onChangeDefault(${layerId}, 'distance', value)" data-i18n="distanceTitle" title="${languages[preferredLanguage].distanceTitle}"></input>
</div>
<!---
<div class="layer-row">
<label data-i18n="angleLabel" for="figureAngle${layerId}"> ${languages[preferredLanguage].angleLabel}</label>
<input data-i18n="distanceTitle" type="number" min=0 max=180 id="figureDistance${layerId}" name="figureDistance" value="${layerConfig.angle}" oninput="onChangeDefault(${layerId}, 'angle', value)" title="${languages[preferredLanguage].angleTitle}"></input>
<input class="input-slider" type="range" min=0 max=180 list="markers" id="figureAngle${layerId}" name="figureAngle" value=${layerConfig.angle} onchange="onChangeDefault(${layerId}, 'angle', value)" data-i18n="angleTitle" title="${languages[preferredLanguage].angleTitle}"></input>
</div>
--->
</div>`

let newLayer = document.createElement('div');
Expand Down

0 comments on commit a587351

Please sign in to comment.