From 43098065bf6c5c61d13e4d0221f4787c4c0d04b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Sun, 11 Oct 2026 18:02:52 -0400 Subject: [PATCH] Shorten a ScrollArea comment to the ten-word rule --- layout/scrollarea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/scrollarea.go b/layout/scrollarea.go index 7d0a3a3..42183aa 100644 --- a/layout/scrollarea.go +++ b/layout/scrollarea.go @@ -51,7 +51,7 @@ func ScrollArea(c *ui.Context, s *ui.ScrollState, o ScrollAreaOptions, children var v *ui.Element row.Children(func() { scrollBar(c, k, s, view, o.Disabled) - // A disabled view is a new element, so the focus leaves it. + // A disabled view is a new element; the focus leaves. v = ui.Scroll(c).Key(o.Disabled).TrackScroll(s).Grow(1).Label(o.Label).FocusRing(false) if o.Disabled { v.Role(ui.RoleGroup).Description(k.Msg("disabled"))