forked from 0x2620/oxjs
video editor update
This commit is contained in:
parent
ba9423462f
commit
88f31a5ae3
10 changed files with 245 additions and 65 deletions
|
|
@ -151,7 +151,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 = rgb[[2, 3, 6].indexOf(x % 4 + y % 4) > -1 ? 0 : 1],
|
||||
index = x * 4 + y * 4 * width;
|
||||
data[index] = color[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue