The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on November 09, 2022, 10:43:58 PM

Title: Number_input accepts wheel operation even if it is disabled
Post by: RESTRICTED ACCOUNT on November 09, 2022, 10:43:58 PM
Rotating the mouse wheel over a dead number input changes the number even though it is a corpse. ???
People don't expect that dead guy to count.

The workaround I came up with is no action when number_input is dead.
https://github.com/Ranran-the-JuicyPork/simutrans-exp/commit/297bc31677ce2da8c839b8bf5b06ec42def8477b
Title: Re: Number_input accepts wheel operation even if it is disabled
Post by: prissi on November 10, 2022, 04:51:30 AM
Included in r10797, thanks