feldim2425 / MoreOverlays

MC Mod : Brings back some of the NEI Overlays ( Mob Spawns, Chunk Bounds, Item Search)
MIT License
22 stars 18 forks source link

[1.14.4] Config UI values reset when resizing the window #70

Open feldim2425 opened 4 years ago

feldim2425 commented 4 years ago

Edited values in the config gui (without saving) get reset when resizing the window.

Reproduce:

  1. Open config ui (Mods -> MoreOverlay -> Config)
  2. Edit any value
  3. Resize the minecraft window

Developer Note: Config list gets reinitialized every time the window size changes (due to the internal handling by minecraft) but configs don't get copied. Potential fix rewriting the config list to handle the init itself and not generating a new one every time, probably required rewriting the AbstractList class.