Do not display keyboard shortcuts in main help for now
This main help already display some of them, so let's first focus on this label refactor, and then do a refactor of that main help modal.
This commit is contained in:
parent
d98d5686fb
commit
5a6cd9a5b5
1 changed files with 0 additions and 4 deletions
|
@ -584,10 +584,6 @@ L.U.Help = L.Class.extend({
|
||||||
for (const id in this.map.helpMenuActions) {
|
for (const id in this.map.helpMenuActions) {
|
||||||
addAction(this.map.helpMenuActions[id])
|
addAction(this.map.helpMenuActions[id])
|
||||||
}
|
}
|
||||||
const kbdList = L.DomUtil.create('ul', 'kbd-list', container)
|
|
||||||
for (const key of Object.keys(this.SHORTCUTS)) {
|
|
||||||
L.DomUtil.add('li', '', kbdList, this.displayLabel(key))
|
|
||||||
}
|
|
||||||
return container
|
return container
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue