fix timeline tile offset

This commit is contained in:
rolux 2013-02-15 11:21:17 +05:30
parent 88981fd836
commit 092f27ca19

View file

@ -183,7 +183,7 @@ Ox.SmallVideoTimelineImage = function(options, self) {
firstTile = Math.floor(self.options['in'] / 60); firstTile = Math.floor(self.options['in'] / 60);
lastTile = Math.floor(self.options.out / 60); lastTile = Math.floor(self.options.out / 60);
tileHeight = 64; tileHeight = 64;
tileOffset = -Math.round(self.options['in'] % 60); tileOffset = -Math.round(self.options['in'] % 60 * 25);
tileWidth = 1500; tileWidth = 1500;
} }
$canvas = $('<canvas>').attr({ $canvas = $('<canvas>').attr({