forked from MapComplete/MapComplete
Hotkeys: translations, fix location lock on mobile
This commit is contained in:
parent
ae8e46f7a6
commit
65bb91b97a
7 changed files with 40 additions and 27 deletions
|
@ -6,6 +6,7 @@ import Hash from "../../Logic/Web/Hash"
|
|||
import BaseUIElement from "../BaseUIElement"
|
||||
import Title from "./Title"
|
||||
import Hotkeys from "./Hotkeys"
|
||||
import Translations from "../i18n/Translations";
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -85,7 +86,7 @@ export default class ScrollableFullScreen {
|
|||
private static initEmpty(): FixedUiElement {
|
||||
Hotkeys.RegisterHotkey(
|
||||
{ nomod: "Escape", onUp: true },
|
||||
"Close the sidebar",
|
||||
Translations.t.hotkeyDocumentation.closeSidebar,
|
||||
ScrollableFullScreen.collapse
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue