repeat header lines that contain {tool} for each extruder
This commit is contained in:
parent
54fcaa4e84
commit
00e2b9eb50
2 changed files with 12 additions and 1 deletions
|
|
@ -145,7 +145,15 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
appendSub(line);
|
||||
if (line.indexOf("{tool}") > 0 && extruders.length > 1) {
|
||||
for (let i=0; i<extruders.length; i++) {
|
||||
subst.tool = i;
|
||||
appendSub(line);
|
||||
}
|
||||
subst.tool = 0;
|
||||
} else {
|
||||
appendSub(line);
|
||||
}
|
||||
}
|
||||
|
||||
function dwell(ms) {
|
||||
|
|
|
|||
|
|
@ -664,6 +664,9 @@ th, tr, td, label {
|
|||
#help li {
|
||||
margin-left: 20px;
|
||||
}
|
||||
.content br {
|
||||
margin: 10px;
|
||||
}
|
||||
}
|
||||
#help .header {
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue