Merge pull request #1462 from danecreekphotography/preset-number

Add preset number to display
This commit is contained in:
Aircoookie 2020-12-14 20:49:51 +01:00 committed by GitHub
commit faa4e7753c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1620 additions and 1607 deletions

View File

@ -692,6 +692,17 @@ input[type=number]::-webkit-outer-spin-button {
text-overflow: clip; 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 { .newseg {
cursor: default; cursor: default;
} }
@ -1549,9 +1560,8 @@ function populatePresets(fromls)
is.push(i); is.push(i);
cn += `<div class="seg pres" id="p${i}o"> cn += `<div class="seg pres" id="p${i}o">
<div class="segname pname" onclick="setPreset(${i})"> <div class="segid">${i}</div>
${pName(i)} <div class="segname pname" onclick="setPreset(${i})">${pName(i)}</div>
</div>
<i class="icons e-icon flr ${expanded[i+100] ? "exp":""}" id="sege${i+100}" onclick="expand(${i+100})">&#xe395;</i> <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 class="segin" id="seg${i+100}"></div>
</div><br>`; </div><br>`;

File diff suppressed because it is too large Load Diff