MCPcopy
hub / github.com/g3n/engine / Split

Method Split

gui/splitter.go:104–107  ·  view source on GitHub ↗

Split returns the current position of the splitter bar. It returns a value from 0.0 to 1.0

()

Source from the content-addressed store, hash-verified

102// Split returns the current position of the splitter bar.
103// It returns a value from 0.0 to 1.0
104func (s *Splitter) Split() float32 {
105
106 return s.pos
107}
108
109// onResize receives subscribed resize events for the whole splitter panel
110func (s *Splitter) onResize(evname string, ev interface{}) {

Callers 15

parseFunction · 0.80
processFileFunction · 0.80
FindPathMethod · 0.80
AttribCheckMenuShortcutFunction · 0.80
parseFloatsMethod · 0.80
AssetDirFunction · 0.80
_filePathFunction · 0.80
NewAnimationTargetsMethod · 0.80
parseDataURLFunction · 0.80
parseFaceMethod · 0.80
FindFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected