Preset ID in separate div

This commit is contained in:
cschwinne 2020-12-13 23:37:41 +01:00
parent b7a42d61c4
commit 7f1013123a
2 changed files with 1620 additions and 1608 deletions

View File

@ -692,6 +692,17 @@ input[type=number]::-webkit-outer-spin-button {
text-overflow: clip;
}
.segid {
position: absolute;
top: 0px;
left: 0px;
padding: 10px 0px 0px 12px;
font-size: 16px;
width: 20px;
text-align: center;
color: var(--c-b);
}
.newseg {
cursor: default;
}
@ -1548,10 +1559,9 @@ function populatePresets(fromls)
if (qll) pQL.push([i, qll]);
is.push(i);
cn += `<div class="seg pres" id="p${i}o">
<div class="segname pname" onclick="setPreset(${i})">
${i}: ${pName(i)}
</div>
cn += `<div class="seg pres" id="p${i}o">
<div class="segid">${i}</div>
<div class="segname pname" onclick="setPreset(${i})">${pName(i)}</div>
<i class="icons e-icon flr ${expanded[i+100] ? "exp":""}" id="sege${i+100}" onclick="expand(${i+100})">&#xe395;</i>
<div class="segin" id="seg${i+100}"></div>
</div><br>`;

File diff suppressed because it is too large Load Diff