Window location updates after viewing once

Hi everyone,

I'm fairly new to MV and totally new to JavaScript.

I'm starting to play around with menu window locations by creating a plugin. When viewing a menu the first time, the window elements are in their normal, default location. When exiting and re-opening the shop, they are in the locations I want them to be.

Why is this happening?!
Can you please share the plugin which you have written so far? It's impossible for us to know without seeing what you have changed.

Please use the CODE tags so that it is formatted nicely to read.
Hey Aloe,

Thanks for your response. I'm very new to JavaScript (it's only been a few days!).

I think I figured out why this was happening. I'm trying to move window coordinates & sizes, but trying to write everything in one file.
I didn't have some of the functions set up correctly, so they were interfering with each other.

I've got a new issue now though... the joys of trying to learn JavaScript!
​

Original thread: https://forums.rpgmakerweb.com/threads/window-location-updates-after-viewing-once.92845/