fix annotations edit menu
This commit is contained in:
parent
205c84b398
commit
6f5b051821
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ Ox.AnnotationPanel = function(options, self) {
|
||||||
self.$editMenuButton = Ox.MenuButton({
|
self.$editMenuButton = Ox.MenuButton({
|
||||||
items: [].concat(
|
items: [].concat(
|
||||||
self.options.layers.map(function(layer, i) {
|
self.options.layers.map(function(layer, i) {
|
||||||
return {id: 'add' + layer.id, title: Ox._('Add {0}', [layer.item]), keyboard: i + 1 + ''}
|
return {id: 'add' + layer.id, title: Ox._('Add {0}', [layer.item]), keyboard: i < 9 ? i + 1 + '' : null}
|
||||||
}),
|
}),
|
||||||
[
|
[
|
||||||
{},
|
{},
|
||||||
|
|
Loading…
Reference in a new issue