MCPcopy Create free account
hub / github.com/SolarLune/masterplan / NeedScroll

Method NeedScroll

gui.go:3229–3231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3227}
3228
3229func (container *Container) NeedScroll() bool {
3230 return container.IdealSize().Y > container.Rect.H
3231}
3232
3233// IdealSize returns the ideal size for the container to encompass all its GUI Elements.
3234func (container *Container) IdealSize() Vector {

Callers 2

UpdateMethod · 0.95
DrawMethod · 0.95

Calls 1

IdealSizeMethod · 0.95

Tested by

no test coverage detected