1
0
Fork 0
forked from 0x2620/oxjs

when reaching full minute, round position to full minute

This commit is contained in:
rlx 2012-03-25 21:49:36 +00:00
commit 5d1b204e45
2 changed files with 5 additions and 3 deletions

View file

@ -1140,7 +1140,7 @@ Ox.VideoEditor = function(options, self) {
});
if (!playing || minute != previousMinute) {
that.triggerEvent('position', {
position: self.options.position
position: !playing ? self.options.position : minute * 60
});
}
}