keyboard shortcuts end at '9'
This commit is contained in:
parent
cd34cc5c6e
commit
1fb1e35bab
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
{key: Ox.SYMBOLS.escape, action: Ox._('Cancel/Deselect')},
|
{key: Ox.SYMBOLS.escape, action: Ox._('Cancel/Deselect')},
|
||||||
{key: Ox.SYMBOLS.delete, action: Ox._('Delete')}
|
{key: Ox.SYMBOLS.delete, action: Ox._('Delete')}
|
||||||
].concat(
|
].concat(
|
||||||
Ox.filter(self.options.layers.map(function(layer, i) {
|
Ox.filter(self.options.layers.slice(0, 9).map(function(layer, i) {
|
||||||
return layer.editable
|
return layer.editable
|
||||||
? {key: i + 1, action: Ox._('Add {0}', [layer.item])}
|
? {key: i + 1, action: Ox._('Add {0}', [layer.item])}
|
||||||
: null;
|
: null;
|
||||||
|
|
Loading…
Reference in a new issue