1
0
Fork 0
forked from 0x2620/oxjs

make find next/previous select the annotation

This commit is contained in:
rlx 2012-02-01 05:21:29 +00:00
commit 9b2766bc17
6 changed files with 137 additions and 19 deletions

View file

@ -125,7 +125,7 @@ Ox.SmallVideoTimelineImage = function(options, self) {
Ox.loop(left, right, function(x) {
Ox.loop(top, bottom, function(y) {
var alpha = self.options.type == 'editor'
&& (y == top || y == bottom - 1) ? 192 : 64,
&& (y == top || y == bottom - 1) ? 255 : 128,
color = [2, 3, 6].indexOf(x % 4 + y % 4) > -1
? [0, 0, 0] : [255, 255, 0],
index = x * 4 + y * 4 * width;