font size/stroke visibility upgrade

for us old folks
This commit is contained in:
tim h 2022-11-19 22:10:20 -06:00 committed by Victor Seiji Hariki
parent f8e87df6de
commit 2861c100bd
2 changed files with 8 additions and 1 deletions

View file

@ -175,4 +175,10 @@ button.tool:hover {
.maskCanvasMonitor .overMaskCanvasMonitor .initImgCanvasMonitor {
position: absolute;
}
.strokeText {
-webkit-text-stroke: 1px #888;
font-size: 150%;
color: #000;
}

View file

@ -159,6 +159,7 @@ function startup() {
changeOverMask();
changeOverMaskPx();
changeHiResFix();
changeEnableErasing();
document.getElementById("overlayCanvas").onmousemove = mouseMove;
document.getElementById("overlayCanvas").onmousedown = mouseDown;
document.getElementById("overlayCanvas").onmouseup = mouseUp;
@ -230,7 +231,7 @@ function imageAcceptReject(x, y, data) {
div.style.top = parseInt(y + data.parameters.height) + "px";
div.style.width = "150px";
div.style.height = "50px";
div.innerHTML = "<button onclick=\"prevImg(this)\">&lt;</button><button onclick=\"nextImg(this)\">&gt;</button><span id=\"currentImgIndex\"></span> of <span id=\"totalImgIndex\"></span><button onclick=\"accept(this)\">Y</button><button onclick=\"reject(this)\">N</button>"
div.innerHTML = "<button onclick=\"prevImg(this)\">&lt;</button><button onclick=\"nextImg(this)\">&gt;</button><span class=\"strokeText\" id=\"currentImgIndex\"></span><span class=\"strokeText\"> of </span><span class=\"strokeText\" id=\"totalImgIndex\"></span><button onclick=\"accept(this)\">Y</button><button onclick=\"reject(this)\">N</button>"
document.getElementById("tempDiv").appendChild(div);
document.getElementById("currentImgIndex").innerText = "1";
document.getElementById("totalImgIndex").innerText = totalImagesReturned;