Fix several cases of errors appearing in the console

One appeared on load (a deprecated meta tag). One appeared when adding an Identity (Passthrough) node. One appeared when exposing the the Weight parameter of the Stroke node. This also fixes the intended behavior of the bisect script, which was involved when finding the prevenance of these errors.
This commit is contained in:
Keavon Chambers
2026-04-03 03:20:04 -07:00
parent 5edb00bd9a
commit 55115d89d5
4 changed files with 13 additions and 8 deletions

View File

@@ -369,6 +369,7 @@ document.addEventListener("DOMContentLoaded", () => {
// Exists at starting commit, so it was introduced earlier. Search backward (doubling).
badIndex = currentIndex;
boundarySearching = true;
boundaryOffset = Math.max(1, commits.length - 1 - startIndex);
} else {
// Absent at starting commit, so the issue was introduced more recently. Extend the commit list forward (towards HEAD) before narrowing.
goodIndex = currentIndex;
@@ -558,7 +559,7 @@ document.addEventListener("DOMContentLoaded", () => {
stepCount = 0;
history = [];
bisectPhase = "boundary";
boundaryOffset = 1;
boundaryOffset = 0;
boundarySearching = false;
elements.goBackButton?.classList.remove("hidden");
if (elements.testBuildButton instanceof HTMLElement) elements.testBuildButton.style.display = "";