Hotkeys: translations, fix location lock on mobile

This commit is contained in:
Pieter Vander Vennet 2022-12-28 00:37:48 +01:00
parent ae8e46f7a6
commit 65bb91b97a
7 changed files with 40 additions and 27 deletions

View file

@ -97,7 +97,7 @@ export default class LeftControls extends Combine {
state.featureSwitchFilter.addCallbackAndRun((f) => {
Hotkeys.RegisterHotkey(
{ nomod: "B" },
"Opens the Background, layers and filters panel",
Translations.t.hotkeyDocumentation.openLayersPanel,
() => {
guiState.filterViewIsOpened.setData(!guiState.filterViewIsOpened.data)
}