MCPcopy Create free account
hub / github.com/breck7/scroll / clearSelection

Method clearSelection

external/.scrollLibs.js:15875–15877  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15873 return this.topDownArray.filter(particle => particle.isSelected())
15874 }
15875 clearSelection() {
15876 this.getSelectedParticles().forEach(particle => particle.unselectParticle())
15877 }
15878 // Note: this is for debugging select chains
15879 print(message = "") {
15880 if (message) console.log(message)

Callers

nothing calls this directly

Calls 3

getSelectedParticlesMethod · 0.95
forEachMethod · 0.80
unselectParticleMethod · 0.80

Tested by

no test coverage detected