KockaAdmiralac / uty-save-editor

Save editor for Undertale Yellow.
https://uty-save-editor.netlify.app
MIT License
6 stars 1 forks source link

Synchronize location data between different controls #2

Closed KockaAdmiralac closed 9 months ago

KockaAdmiralac commented 9 months ago

Currently, there are several issues arising from location controls not synchronizing between themselves:

  1. When changing the room, the room name does not update.
  2. When changing the room, the X and Y coordinates stay the same so the map may be way out of the location picker.
  3. When the SAVE room is not in the picker, the "Show only SAVE locations" control needs to be updated to reflect that.

This could be solved by extracting location-related controls into a separate component with state of its own.