restore extruder drop down population
This commit is contained in:
parent
575015d4bf
commit
5c56c4e860
2 changed files with 12 additions and 3 deletions
|
|
@ -791,6 +791,15 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
ui.fwRetract.checked = dev.fwRetract;
|
||||
if (!dev.filamentSource) ui.filamentSource.selectedIndex = 0;
|
||||
|
||||
// add extruder selection buttons
|
||||
if (dev.extruders) {
|
||||
let ext = api.lists.extruders = [];
|
||||
dev.internal = 0;
|
||||
for (let i=0; i<dev.extruders.length; i++) {
|
||||
ext.push({id:i, name:i});
|
||||
}
|
||||
}
|
||||
|
||||
// disable editing for non-local devices
|
||||
[
|
||||
ui.deviceName,
|
||||
|
|
|
|||
|
|
@ -688,7 +688,7 @@ th, tr, td, label {
|
|||
}
|
||||
#panel-left, #panel-right, #modal {
|
||||
pointer-events: visible;
|
||||
text-transform: capitalize;
|
||||
/* text-transform: capitalize; */
|
||||
}
|
||||
#panel-left label, #panel-left svg {
|
||||
pointer-events: none;
|
||||
|
|
@ -1026,7 +1026,7 @@ th, tr, td, label {
|
|||
position: absolute;
|
||||
white-space: nowrap;
|
||||
flex-direction: column;
|
||||
background-color: rgba(255,255,255,0.8);
|
||||
background-color: #fff;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 5px;
|
||||
margin-right: 6px;
|
||||
|
|
@ -1071,7 +1071,7 @@ th, tr, td, label {
|
|||
white-space: nowrap;
|
||||
}
|
||||
#oplist > div:hover, #op-add:hover {
|
||||
background-color: rgba(255,255,255,0.9);
|
||||
background-color: #fff;
|
||||
}
|
||||
#oplist > div.editing {
|
||||
background-color: rgba(190,230,190,0.85);
|
||||
|
|
|
|||
Loading…
Reference in a new issue