MCPcopy Create free account
hub / github.com/bwasti/mebm / select

Method select

script.js:1167–1171  ·  view source on GitHub ↗
(layer)

Source from the content-addressed store, hash-verified

1165 }
1166
1167 select(layer) {
1168 this.deselect();
1169 this.selected_layer = layer;
1170 this.selected_layer.preview.classList.toggle('selected');
1171 }
1172
1173 remove(layer) {
1174 const idx = this.layers.indexOf(layer);

Callers 2

scrubStartMethod · 0.95
addMethod · 0.95

Calls 1

deselectMethod · 0.95

Tested by

no test coverage detected