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

Method prev

script.js:1123–1135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1121 }
1122
1123 prev() {
1124 if (this.selected_layer) {
1125 let l = this.selected_layer;
1126 if (l instanceof MoveableLayer) {
1127 let i = l.nearest_anchor(this.time, false);
1128 if (i >= 0) {
1129 this.time = l.getTime(i);
1130 return;
1131 }
1132 }
1133 }
1134 this.time = Math.max(this.time - 100, 0);
1135 }
1136
1137 next() {
1138 if (this.selected_layer) {

Callers 2

delete_anchorMethod · 0.95
script.jsFile · 0.80

Calls 2

nearest_anchorMethod · 0.80
getTimeMethod · 0.80

Tested by

no test coverage detected