change layer poly fingerprinting to handle more complex repeating patterns

This commit is contained in:
Stewart Allen 2024-08-08 17:44:47 -04:00
commit 8fce4f38a4
4 changed files with 58 additions and 20 deletions

View file

@ -316,7 +316,15 @@ gapp.register("kiri.main", [], (root, exports) => {
function setProgress(value = 0, msg) {
value = (value * 100).round(4);
UI.progress.width = value+'%';
if (msg) UI.prostatus.innerHTML = msg;
if (self.debug) {
// console.log(msg, value.round(2));
UI.prostatus.style.display = 'flex';
if (msg) {
UI.prostatus.innerHTML = msg;
} else {
UI.prostatus.innerHTML = '';
}
}
}
function bound(v,min,max) {