auto scrolling to focused windows

This commit is contained in:
Dustin Swan 2026-02-12 17:52:46 -07:00
parent 5f592f40bf
commit 44015e58b1
No known key found for this signature in database
GPG key ID: 30D46587E2100467
2 changed files with 41 additions and 6 deletions

View file

@ -89,7 +89,6 @@ function renderUI(ui: UIValue, ctx: CanvasRenderingContext2D, x: number, y: numb
let offsetX = 0;
for (const child of ui.children) {
const size = measure(child);
console.log("row child: ", child.kind, "width: ", size.width)
renderUI(child, ctx, x + offsetX, y);
offsetX += measure(child).width + (ui.gap || 0);
}