forked from 0x2620/oxjs
in video editor, keep menu and player size in sync (fixes #405)
This commit is contained in:
parent
972808eb17
commit
95da27d0db
4 changed files with 30 additions and 11 deletions
|
|
@ -611,9 +611,7 @@ Ox.Menu = function(options, self) {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
item.options({
|
||||
checked: true
|
||||
});
|
||||
item.options({checked: true});
|
||||
}
|
||||
} else {
|
||||
that.submenus[ids.shift()].checkItem(ids.join('_'));
|
||||
|
|
@ -724,6 +722,13 @@ Ox.Menu = function(options, self) {
|
|||
@*/
|
||||
that.selectFirstItem = function() {
|
||||
selectNextItem();
|
||||
return that;
|
||||
};
|
||||
|
||||
that.setItemTitle = function(id, title) {
|
||||
var item = getItem(id);
|
||||
item && item.options({title: title});
|
||||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue