forked from 0x2620/pandora
if seeking beyond out, set position to out (not to in)
This commit is contained in:
parent
8079671cf1
commit
3e945dcc0c
1 changed files with 4 additions and 1 deletions
|
@ -141,7 +141,10 @@ Ox.load('UI', {
|
||||||
if (!pandora.$player.options('paused')) {
|
if (!pandora.$player.options('paused')) {
|
||||||
pandora.$player.togglePaused();
|
pandora.$player.togglePaused();
|
||||||
}
|
}
|
||||||
pandora.$player.options({position: options['in']});
|
pandora.$player.options({
|
||||||
|
position: data.position < options['in'] - 0.04
|
||||||
|
? options['in'] : options.out
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ox.extend(pandora.user, {
|
Ox.extend(pandora.user, {
|
||||||
|
|
Loading…
Reference in a new issue