1
0
Fork 0
forked from 0x2620/oxjs

add 'editable' timeline state (fixes #521)

This commit is contained in:
rlx 2012-02-19 07:21:40 +00:00
commit 2c2caf8f58
2 changed files with 10 additions and 3 deletions

View file

@ -146,8 +146,9 @@ Ox.SmallVideoTimelineImage = function(options, self) {
top = 0,
bottom = height,
rgb = self.options.state == 'editing' ? [[0, 128, 0], [128, 255, 128]]
: self.options.state == 'selected' ? [[0, 0, 128], [128, 128, 255]]
: [[0, 0, 0], [255, 255, 255]];
: self.options.state == 'editable' ? [[0, 0, 128], [128, 128, 255]]
: self.options.state == 'selected' ? [[0, 0, 0], [255, 255, 255]]
: [[32, 32, 32], [224, 224, 224]];
Ox.loop(left, right, function(x) {
Ox.loop(top, bottom, function(y) {
var alpha = self.options.type == 'editor'