mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-24 01:02:19 +02:00
Update move-touch-controls-handler.ts
This commit is contained in:
parent
90ce428b3f
commit
7a36115b5a
@ -88,9 +88,9 @@ export default class MoveTouchControlsHandler {
|
|||||||
* @returns A new div element that contains the toolbar for the configuration mode.
|
* @returns A new div element that contains the toolbar for the configuration mode.
|
||||||
*/
|
*/
|
||||||
private createToolbarElement(): HTMLDivElement {
|
private createToolbarElement(): HTMLDivElement {
|
||||||
const toolbar = document.createElement("div");
|
const toolbar = document.createElement("div");
|
||||||
toolbar.id = "configToolbar";
|
toolbar.id = "configToolbar";
|
||||||
toolbar.innerHTML = `
|
toolbar.innerHTML = `
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="button-row">
|
<div class="button-row">
|
||||||
<div id="resetButton" class="button">${i18next.t("settings:reset")}</div>
|
<div id="resetButton" class="button">${i18next.t("settings:reset")}</div>
|
||||||
@ -107,8 +107,8 @@ export default class MoveTouchControlsHandler {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
return toolbar;
|
return toolbar;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the toolbar of the configuration mode.
|
* Initializes the toolbar of the configuration mode.
|
||||||
|
Loading…
Reference in New Issue
Block a user