fixes #233 part rotation buttons non-functional

This commit is contained in:
Stewart Allen 2023-02-05 11:37:48 +01:00
commit c4b45abf32
2 changed files with 7 additions and 8 deletions

View file

@ -579,8 +579,7 @@ th, tr, td, label {
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 3px; border-radius: 3px;
} }
#ft-rotate svg:hover { #ft-rotate > div:hover > svg {
border: 1px solid #ccc;
background-color: var(--main-color); background-color: var(--main-color);
color: white; color: white;
} }

View file

@ -121,17 +121,17 @@
<button id="scale-reset" class="gr4">reset</button> <button id="scale-reset" class="gr4">reset</button>
</div> </div>
<div id="ft-rotate" class="grow grid"> <div id="ft-rotate" class="grow grid">
<div><i id="rot_x_lt" class="fas fa-chevron-left"></i></div> <div id="rot_x_lt"><i class="fas fa-chevron-left"></i></div>
<label>X</label> <label>X</label>
<div><i id="rot_x_gt" class="fas fa-chevron-right"></i></div> <div id="rot_x_gt"><i class="fas fa-chevron-right"></i></div>
<input id="rot_x" class="value center" size="6" value="0"> <input id="rot_x" class="value center" size="6" value="0">
<div><i id="rot_y_lt" class="fas fa-chevron-left"></i></div> <div id="rot_y_lt"><i class="fas fa-chevron-left"></i></div>
<label>Y</label> <label>Y</label>
<div><i id="rot_y_gt" class="fas fa-chevron-right"></i></div> <div id="rot_y_gt"><i class="fas fa-chevron-right"></i></div>
<input id="rot_y" class="value center" size="6" value="0"> <input id="rot_y" class="value center" size="6" value="0">
<div><i id="rot_z_lt" class="fas fa-chevron-left"></i></div> <div id="rot_z_lt"><i class="fas fa-chevron-left"></i></div>
<label>Z</label> <label>Z</label>
<div><i id="rot_z_gt" class="fas fa-chevron-right"></i></div> <div id="rot_z_gt"><i class="fas fa-chevron-right"></i></div>
<input id="rot_z" class="value center" size="6" value="0"> <input id="rot_z" class="value center" size="6" value="0">
<div class="buttons f-row"> <div class="buttons f-row">
<button id="lay-flat" class="grow">lay flat</button> <button id="lay-flat" class="grow">lay flat</button>