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

Method next

script.js:1137–1149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1135 }
1136
1137 next() {
1138 if (this.selected_layer) {
1139 let l = this.selected_layer;
1140 if (l instanceof MoveableLayer) {
1141 let i = l.nearest_anchor(this.time, true);
1142 if (i >= 0) {
1143 this.time = l.getTime(i);
1144 return;
1145 }
1146 }
1147 }
1148 this.time = Math.min(this.time + 100, this.total_time - 1);
1149 }
1150
1151 delete_anchor() {
1152 if (this.selected_layer) {

Callers 1

script.jsFile · 0.80

Calls 2

nearest_anchorMethod · 0.80
getTimeMethod · 0.80

Tested by

no test coverage detected