also reset AN panel loc/size

This commit is contained in:
RossAscends
2023-06-27 13:22:39 +09:00
parent 9737fda9ae
commit 76b7e24614

View File

@@ -942,6 +942,14 @@ function resetMovablePanels() {
document.getElementById("WorldInfo").style.width = ''; document.getElementById("WorldInfo").style.width = '';
document.getElementById("WorldInfo").style.margin = ''; document.getElementById("WorldInfo").style.margin = '';
document.getElementById("floatingPrompt").style.top = '';
document.getElementById("floatingPrompt").style.left = '';
document.getElementById("floatingPrompt").style.right = '';
document.getElementById("floatingPrompt").style.bottom = '';
document.getElementById("floatingPrompt").style.height = '';
document.getElementById("floatingPrompt").style.width = '';
document.getElementById("floatingPrompt").style.margin = '';
$('*[data-dragged="true"]').removeAttr('data-dragged'); $('*[data-dragged="true"]').removeAttr('data-dragged');
power_user.movingUIState = {} power_user.movingUIState = {}
saveSettingsDebounced(); saveSettingsDebounced();