minor changes
This commit is contained in:
parent
d51b248225
commit
c11087650c
|
@ -118,7 +118,7 @@ export function uiUpdateScene(context: any) {
|
||||||
</div>
|
</div>
|
||||||
<div class='ui-block'>
|
<div class='ui-block'>
|
||||||
<div style='display: inline-block; width:30%;'>Instances Number: </div>
|
<div style='display: inline-block; width:30%;'>Instances Number: </div>
|
||||||
<input class='custom-range' style='width:65%' type="range" min="1" max="180" value="9" step='1' class="slider" id="` + context.scene.length + `instance">
|
<input class='custom-range' style='width:65%' type="range" min="1" max="180" value="` + $('#instance').val() + `" step='1' class="slider" id="` + context.scene.length + `instance">
|
||||||
</div>
|
</div>
|
||||||
<div class='ui-block'>
|
<div class='ui-block'>
|
||||||
<form id="` + context.scene.length + `instanceoptions">` + instanceRadioString + `</form>
|
<form id="` + context.scene.length + `instanceoptions">` + instanceRadioString + `</form>
|
||||||
|
@ -126,29 +126,29 @@ export function uiUpdateScene(context: any) {
|
||||||
<div class='ui-block my-2'>
|
<div class='ui-block my-2'>
|
||||||
<div style='display: inline-block; width:30%;'>Rotate: </div>
|
<div style='display: inline-block; width:30%;'>Rotate: </div>
|
||||||
<div class='m-0 p-0' style='display: inline-block; width:2%;'>X: </div>
|
<div class='m-0 p-0' style='display: inline-block; width:2%;'>X: </div>
|
||||||
<input class='custom-range m-0 p-0' style='width:19%' type="range" min="0" max="6.2830" value="0" step='0.0001' class="slider" id="` + context.scene.length + `rotx">
|
<input class='custom-range m-0 p-0' style='width:19%' type="range" min="0" max="6.2830" value="` + $('#rotx').val() + `" step='0.0001' class="slider" id="` + context.scene.length + `rotx">
|
||||||
<div class='m-0 p-0' style='display: inline-block; width:2%;'>Y: </div>
|
<div class='m-0 p-0' style='display: inline-block; width:2%;'>Y: </div>
|
||||||
<input class='custom-range m-0 p-0' style='width:19%' type="range" min="0" max="6.2830" value="0" step='0.0001' class="slider" id="` + context.scene.length + `roty">
|
<input class='custom-range m-0 p-0' style='width:19%' type="range" min="0" max="6.2830" value="` + $('#roty').val() + `" step='0.0001' class="slider" id="` + context.scene.length + `roty">
|
||||||
<div class='m-0 p-0' style='display: inline-block; width:2%;'>Z: </div>
|
<div class='m-0 p-0' style='display: inline-block; width:2%;'>Z: </div>
|
||||||
<input class='custom-range m-0 p-0' style='width:19%' type="range" min="0" max="6.2830" value="0" step='0.0001' class="slider" id="` + context.scene.length + `rotz">
|
<input class='custom-range m-0 p-0' style='width:19%' type="range" min="0" max="6.2830" value="` + $('#rotz').val() + `" step='0.0001' class="slider" id="` + context.scene.length + `rotz">
|
||||||
</div>
|
</div>
|
||||||
<div class='ui-block my-2'>
|
<div class='ui-block my-2'>
|
||||||
<div style='display: inline-block; width:30%;'>Scale: </div>
|
<div style='display: inline-block; width:30%;'>Scale: </div>
|
||||||
<div style='display: inline-block; width:2%;'>X: </div>
|
<div style='display: inline-block; width:2%;'>X: </div>
|
||||||
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="1" min="0" step='0.00001' id="` + context.scene.length + `scalex">
|
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="` + $('#scalex').val() + `" min="0" step='0.00001' id="` + context.scene.length + `scalex">
|
||||||
<div style='display: inline-block; width:2%;'>Y: </div>
|
<div style='display: inline-block; width:2%;'>Y: </div>
|
||||||
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="1" min="0" step='0.00001' id="` + context.scene.length + `scaley">
|
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="` + $('#scaley').val() + `" min="0" step='0.00001' id="` + context.scene.length + `scaley">
|
||||||
<div style='display: inline-block; width:2%;'>Z: </div>
|
<div style='display: inline-block; width:2%;'>Z: </div>
|
||||||
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="1" min="0" step='0.00001' id="` + context.scene.length + `scalez">
|
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="` + $('#scalez').val() + `" min="0" step='0.00001' id="` + context.scene.length + `scalez">
|
||||||
</div>
|
</div>
|
||||||
<div class='ui-block my-2'>
|
<div class='ui-block my-2'>
|
||||||
<div style='display: inline-block; width:30%;'>Translate: </div>
|
<div style='display: inline-block; width:30%;'>Translate: </div>
|
||||||
<div style='display: inline-block; width:2%;'>X: </div>
|
<div style='display: inline-block; width:2%;'>X: </div>
|
||||||
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="0" step='0.00001' id="` + context.scene.length + `posx">
|
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="` + $('#posx').val() + `" step='0.00001' id="` + context.scene.length + `posx">
|
||||||
<div style='display: inline-block; width:2%;'>Y: </div>
|
<div style='display: inline-block; width:2%;'>Y: </div>
|
||||||
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="0" step='0.00001' id="` + context.scene.length + `posy">
|
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="` + $('#posy').val() + `" step='0.00001' id="` + context.scene.length + `posy">
|
||||||
<div style='display: inline-block; width:2%;'>Z: </div>
|
<div style='display: inline-block; width:2%;'>Z: </div>
|
||||||
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="0" step='0.00001' id="` + context.scene.length + `posz">
|
<input class='form-control m-0 p-0' style='display: inline-block; width:19%' type="number" value="` + $('#posz').val() + `" step='0.00001' id="` + context.scene.length + `posz">
|
||||||
</div>
|
</div>
|
||||||
</div>`);
|
</div>`);
|
||||||
$('#' + context.scene.length + 't_wall').on('click', (event) => {
|
$('#' + context.scene.length + 't_wall').on('click', (event) => {
|
||||||
|
|
Loading…
Reference in New Issue