Vanessa 2023-01-26 22:52:22 +08:00
parent 1da805255b
commit 62e35b5c52
12 changed files with 55 additions and 44 deletions

View file

@ -518,7 +518,7 @@ export const initWindow = () => {
</svg>
</div>`;
if (isWindow()) {
document.body.insertAdjacentHTML("beforeend", `<div style="position: fixed;top: 0;right: 0;display: flex;z-index: 502;">${controlsHTML}</div>`)
document.body.insertAdjacentHTML("beforeend", `<div class="toolbar__window">${controlsHTML}</div>`)
} else {
document.getElementById("windowControls").innerHTML = controlsHTML;
}