… and race creation dialog to advance by 10/100 when shift/control key pressed
This commit adds a feature that holding the shift key will change the step to 10 for clicking the number slider in the research budget percentage on the research dialog and the econ values on the race dialog.
Similarly holding control will change the step to 100.
I do not know svelte so this may not be the best way to do it. I tried to import and call quantityModifier, but I could not get it working. So I copied the code directly into the increase and decrease functions.
… and race creation dialog to advance by 10/100 when shift/control key pressed
This commit adds a feature that holding the shift key will change the step to 10 for clicking the number slider in the research budget percentage on the research dialog and the econ values on the race dialog.
Similarly holding control will change the step to 100.
I do not know svelte so this may not be the best way to do it. I tried to import and call quantityModifier, but I could not get it working. So I copied the code directly into the increase and decrease functions.