ScalarVector1 / DragonLens

Modern, customizable, and community-driven debugging and cheat mod for TModLoader
24 stars 14 forks source link

Clicking on the remove button activates the tool before removing #53

Closed Jadams505 closed 1 year ago

Jadams505 commented 1 year ago

Description

When clicking the remove button on a tool it activates the tool before removing. This was not the behavior prior to the latest 1.3.2 update

Steps to reproduce

  1. Open up the customize tool (to allow the ability to remove tools)
  2. Click on the red "remove tool" button on any tool in any toolbar
  3. This will trigger the tool (unintended) and remove the tool from the toolbar (intended)

https://user-images.githubusercontent.com/56134537/227739730-6e90c1b2-6311-453c-90ea-cedabac4ebde.mp4

Expected behavior

Remove the tool from the toolbar without activating the tool

Actual behavior

The tool is removed, but the tool activates before being removed

ScalarVector1 commented 1 year ago

Should be fixed in next update