Changed the semantics of ContentBounds

This commit is contained in:
Sasha Koshka 2023-09-14 14:47:33 -04:00
parent 28cd889254
commit a2a5c16e38
1 changed files with 1 additions and 1 deletions

View File

@ -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.