if seeking beyond out, set position to out (not to in)

This commit is contained in:
rolux 2013-02-12 14:28:45 +05:30
parent 8079671cf1
commit 3e945dcc0c

View file

@ -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, {