dream output text legibility, invert marching ants
This commit is contained in:
parent
8e40019770
commit
7e7146eaa1
2 changed files with 6 additions and 5 deletions
|
@ -173,7 +173,8 @@ button.tool:hover {
|
|||
}
|
||||
|
||||
.strokeText {
|
||||
-webkit-text-stroke: 1px #888;
|
||||
-webkit-text-stroke: 1px #000;
|
||||
font-size: 150%;
|
||||
color: #000;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
|
@ -238,8 +238,8 @@ function imageAcceptReject(x, y, data) {
|
|||
div.style.position = "absolute";
|
||||
div.style.left = parseInt(x) + "px";
|
||||
div.style.top = parseInt(y + data.parameters.height) + "px";
|
||||
div.style.width = "150px";
|
||||
div.style.height = "50px";
|
||||
div.style.width = "200px";
|
||||
div.style.height = "70px";
|
||||
div.innerHTML =
|
||||
'<button onclick="prevImg(this)"><</button><button onclick="nextImg(this)">></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);
|
||||
|
@ -397,7 +397,7 @@ function march() {
|
|||
|
||||
function drawMarchingAnts() {
|
||||
clearTargetMask();
|
||||
tgtCtx.strokeStyle = "#333333FF"; //"#55000077";
|
||||
tgtCtx.strokeStyle = "#FFFFFFFF"; //"#55000077";
|
||||
tgtCtx.setLineDash([4, 2]);
|
||||
tgtCtx.lineDashOffset = -marchOffset;
|
||||
tgtCtx.strokeRect(marchCoords.x, marchCoords.y, marchCoords.w, marchCoords.h);
|
||||
|
|
Loading…
Reference in a new issue