stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
323 stars 33 forks source link

Controls menu doesn't apply changes #59

Closed thegail closed 2 years ago

thegail commented 2 years ago

Describe the bug The controls config menu doesn't apply the changes until the player disconnects and rejoins a game.

To Reproduce Steps to reproduce the behavior:

  1. Join server
  2. Open in game config menu
  3. Change a keybinding
  4. Exit the in game settings
  5. Observe that the new key bindings have not been applied

Expected behavior The new key bindings should be applied.

Extra information (please complete the following information

stackotter commented 2 years ago

Fixed it. It was working properly when hitting escape to exit the in-game menu but not when clicking the button, because I forgot to update the click action and the button was also coded in a weird way which led to that even being possible.