Many of the shopping options also give an option to cancel them, for example after buying +50 hp you get an extra option to cancel that purchase. This is implemented by having a separate cancel option, and separate code for handling it, for each of these options.
I think it would be better UI to have a "cancel all" option at the bottom of each shop section, so you're selecting all the upgrades that you want to buy, and then either buying the complete set, or discarding the changes but keeping the gold.
This issue is just for the UI, how the underlying code would handle it will be the next issue logged.
Many of the shopping options also give an option to cancel them, for example after buying +50 hp you get an extra option to cancel that purchase. This is implemented by having a separate cancel option, and separate code for handling it, for each of these options.
I think it would be better UI to have a "cancel all" option at the bottom of each shop section, so you're selecting all the upgrades that you want to buy, and then either buying the complete set, or discarding the changes but keeping the gold.
This issue is just for the UI, how the underlying code would handle it will be the next issue logged.