This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix a layout issue with row()

Nathan Herald (Apr 14, 2026, 4:29 PM +0200) 5b0c5f87 b5ba5e9e

+11 -1
+11 -1
src/tui/layout.ts
··· 119 119 case "fpsCounter": return 8; 120 120 case "canvas": return node.widthHint ?? "flex"; 121 121 case "ptyView": return "flex"; 122 + case "row": return "flex"; 123 + case "column": return "flex"; 124 + case "hstack": return "flex"; 125 + case "panel": return "flex"; 126 + case "scrollable": return "flex"; 127 + case "selectable": return "flex"; 122 128 default: return 0; 123 129 } 124 130 } ··· 216 222 ? flexSize + (flexIndex++ < flexRemainder ? 1 : 0) 217 223 : widths[i] as number; 218 224 219 - children[i]._rect = clipRect({ x, y: rect.y, width: w, height: rect.height }, rect); 225 + const childRect = clipRect({ x, y: rect.y, width: w, height: rect.height }, rect); 226 + children[i]._rect = childRect; 227 + if (childRect.width > 0 && childRect.height > 0) { 228 + layoutChildren(children[i], childRect); 229 + } 220 230 x += w; 221 231 } 222 232 }