Increase max tag colors from 6 to 9
This commit is contained in:
parent
3b71ec5410
commit
70a91f9674
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
* Same structure as Zotero.Creators -- make changes in both places if possible
|
||||
*/
|
||||
Zotero.Tags = new function() {
|
||||
this.MAX_COLORED_TAGS = 6;
|
||||
this.MAX_COLORED_TAGS = 9;
|
||||
this.MAX_SYNC_LENGTH = 255;
|
||||
|
||||
var _initialized = false;
|
||||
|
|
|
@ -184,7 +184,7 @@ Zotero.ItemTreeView.prototype.setTree = Zotero.Promise.coroutine(function* (tree
|
|||
}
|
||||
|
||||
// We have to disable key navigation on the tree in order to
|
||||
// keep it from acting on the 1-6 keys used for colored tags.
|
||||
// keep it from acting on the 1-9 keys used for colored tags.
|
||||
// To allow navigation with other keys, we temporarily enable
|
||||
// key navigation and recreate the keyboard event. Since
|
||||
// that will trigger this listener again, we set a flag to
|
||||
|
|
Loading…
Reference in a new issue