kRPC: Control the game using C#, C++, Java, Lua, Python...

kRPC: Control the game using C#, C++, Java, Lua, Python...

7.8k Downloads

Configuration saved too often when moving window

djungelorm opened this issue ยท 1 comments

commented

When the main window or info window are moved around the screen, the settings file is repeatedly saved. This makes the game stutter when dragging the window around.

Fix: the configuration should only be saved when the mouse button is released when the user finishes moving the window.

commented

Fixed - was simpler to implement by saving if the window moves, and then stops for more than 50 calls to OnGUI (not tracking mouse events)