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

Method Clear

selection.go:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (selection *Selection) Clear() {
95 for card := range selection.Cards {
96 card.Deselect()
97 }
98 selection.Cards = map[*Card]bool{}
99}
100
101func (selection *Selection) Draw() {
102 if selection.BoxSelecting {

Callers 1

UpdateMethod · 0.95

Calls 1

DeselectMethod · 0.80

Tested by

no test coverage detected