From a2a5c16e38f7ca957c6536bf9747b5f2f955017a Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 14 Sep 2023 14:47:33 -0400 Subject: [PATCH] Changed the semantics of ContentBounds --- object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object.go b/object.go index 869cd45..1eb41d0 100644 --- a/object.go +++ b/object.go @@ -216,7 +216,7 @@ type ContentBox interface { // vertically. SetAlign (x, y Align) // ContentBounds returns the bounds of the inner content of the Box - // relative to the window. + // relative to the Box's InnerBounds. ContentBounds () image.Rectangle // ScrollTo shifts the origin of the Box's content to the origin of the // Box's InnerBounds, offset by the given point.