forked from 0x2620/oxjs
when reaching full minute, round position to full minute
This commit is contained in:
parent
8e6787be97
commit
5d1b204e45
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue