Comparing version 1.0.161 to 1.0.162
@@ -146,2 +146,3 @@ "use strict"; | ||
var _a, _b; | ||
AgCounter_1.AgCounter.inc('frames'); | ||
if (dirty.value) | ||
@@ -180,2 +181,19 @@ return []; | ||
var server_cursor = new AgCursor_1.AgCursor(); | ||
// function nextFrame() { | ||
// for (let i = 0; i < this.frames.length; i++) { | ||
// if (this.frames[i].getTime() > this.target.getTime()) { | ||
// this.target = this.frames[i] | ||
// return | ||
// } | ||
// } | ||
// } | ||
// function preFrame() { | ||
// for (let i = this.frames.length - 1; i >= 0; i--) { | ||
// if (this.frames[i].getTime() <= this.target.getTime()) { | ||
// if (i > 0) this.target = this.frames[i - 1] | ||
// else this.target = this.frames[i] | ||
// return | ||
// } | ||
// } | ||
// } | ||
function onkeydown(key) { | ||
@@ -231,14 +249,6 @@ if (key.key == 'ArrowLeft') { | ||
}, | ||
get playing() { | ||
return cursor.playing; | ||
}, | ||
set playing(v) { | ||
cursor.toggle_playing(v); | ||
}, | ||
get speed() { | ||
return cursor.speed; | ||
}, | ||
get serverTime() { | ||
return server_cursor.current; | ||
}, | ||
get playing() { return cursor.playing; }, | ||
set playing(v) { cursor.toggle_playing(v); }, | ||
get speed() { return cursor.speed; }, | ||
get serverTime() { return server_cursor.current; }, | ||
stop: function () { | ||
@@ -245,0 +255,0 @@ cursor.toggle_playing(false); |
{ | ||
"name": "ag-repo", | ||
"version": "1.0.161", | ||
"version": "1.0.162", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
161558
3612