mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Moved Unhide Button to the Right
This commit is contained in:
@@ -282,11 +282,11 @@ const createUnhideUIButton = function(): void {
|
|||||||
unhideUIButton.setAttribute('title', 'Unhide UI');
|
unhideUIButton.setAttribute('title', 'Unhide UI');
|
||||||
unhideUIButton.textContent = 'Unhide';
|
unhideUIButton.textContent = 'Unhide';
|
||||||
|
|
||||||
// Style for bottom-left positioning with blur and transparency
|
// Style for bottom-right positioning with blur and transparency
|
||||||
unhideUIButton.style.cssText = `
|
unhideUIButton.style.cssText = `
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 120px;
|
bottom: 120px;
|
||||||
left: 20px;
|
right: 20px;
|
||||||
background-color: rgba(255, 255, 255, 0.2);
|
background-color: rgba(255, 255, 255, 0.2);
|
||||||
color: white;
|
color: white;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||||
@@ -323,7 +323,7 @@ const createUnhideUIButton = function(): void {
|
|||||||
// Append to body instead of a specific container
|
// Append to body instead of a specific container
|
||||||
document.body.appendChild(unhideUIButton);
|
document.body.appendChild(unhideUIButton);
|
||||||
|
|
||||||
//trace.msg.log("Unhide UI button added to bottom-left above player bar");
|
//trace.msg.log("Unhide UI button added to bottom-right above player bar");
|
||||||
updateButtonStates();
|
updateButtonStates();
|
||||||
}, 1500); // Slight delay after hide button
|
}, 1500); // Slight delay after hide button
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user