weight blurring on 2d image conversion. underline in gdpr. rename cam slice/scan/start

This commit is contained in:
Stewart Allen 2020-12-06 17:19:07 -05:00
commit 0f005c948a
4 changed files with 7 additions and 4 deletions

View file

@ -318,12 +318,12 @@ KIRI.worker = {
gray[x + (width * yu)] + gray[x + (width * yu)] +
gray[xr + (width * yu)] + gray[xr + (width * yu)] +
gray[xl + (width * y)] + gray[xl + (width * y)] +
gray[x + (width * y)] + // self gray[x + (width * y)] * 8 + // self
gray[xr + (width * y)] + gray[xr + (width * y)] +
gray[xl + (width * yd)] + gray[xl + (width * yd)] +
gray[x + (width * yd)] + gray[x + (width * yd)] +
gray[xr + (width * yd)] gray[xr + (width * yd)]
) / 9); ) / 16);
} }
} }
gray = blur; gray = blur;

View file

@ -58,7 +58,7 @@
UI.label.preview.innerText = 'preview'; UI.label.preview.innerText = 'preview';
UI.label.export.innerText = 'export'; UI.label.export.innerText = 'export';
} else { } else {
UI.label.slice.innerText = 'scan'; UI.label.slice.innerText = 'start';
checkOutlineSettings(api.conf.get()); checkOutlineSettings(api.conf.get());
} }
// do not persist traces across page reloads // do not persist traces across page reloads

View file

@ -1184,6 +1184,9 @@ th, tr, td, label {
border: 1px solid black; border: 1px solid black;
background-color: white; background-color: white;
} }
#gdpr a {
text-decoration: underline;
}
#gotit { #gotit {
font-weight: bold; font-weight: bold;
font-size: larger; font-size: larger;

View file

@ -391,7 +391,7 @@
</div> </div>
</div> </div>
<div id="gdpr" class="noshow"> <div id="gdpr" class="noshow">
<p>this site uses cookies to preserve application preferences</p> <p>this site uses <A href="/privacy.html" target="privacy">cookies</a> to preserve application preferences</p>
<button id="gotit" class="f-col j-center">got it</button> <button id="gotit" class="f-col j-center">got it</button>
</div> </div>
<div id="tool-info" class="noshow"></div> <div id="tool-info" class="noshow"></div>