Workspace is a list of named cork boards the user can cycle between. One is "active"; everything in the running model points at that one.
| 250 | // Workspace is a list of named cork boards the user can cycle between. |
| 251 | // One is "active"; everything in the running model points at that one. |
| 252 | type Workspace struct { |
| 253 | Boards []*Board `json:"boards"` |
| 254 | ActiveIdx int `json:"activeIdx,omitempty"` |
| 255 | Background Background `json:"background,omitempty"` |
| 256 | } |
| 257 | |
| 258 | // CorkOn reports whether the cork texture overlay should be drawn. |
| 259 | func (w *Workspace) CorkOn() bool { return w.Background.Cork } |
nothing calls this directly
no outgoing calls
no test coverage detected