Update move-touch-controls-handler.ts

This commit is contained in:
Lugiad 2025-02-16 21:19:49 +01:00 committed by GitHub
parent 90ce428b3f
commit 7a36115b5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,9 +88,9 @@ export default class MoveTouchControlsHandler {
* @returns A new div element that contains the toolbar for the configuration mode.
*/
private createToolbarElement(): HTMLDivElement {
const toolbar = document.createElement("div");
toolbar.id = "configToolbar";
toolbar.innerHTML = `
const toolbar = document.createElement("div");
toolbar.id = "configToolbar";
toolbar.innerHTML = `
<div class="column">
<div class="button-row">
<div id="resetButton" class="button">${i18next.t("settings:reset")}</div>
@ -107,8 +107,8 @@ export default class MoveTouchControlsHandler {
</div>
</div>
`;
return toolbar;
}
return toolbar;
}
/**
* Initializes the toolbar of the configuration mode.