Use a handler instead of an action for clicks

This prevents dispatching actions on buttons that were not the target of the click.

Co-Authored-By: Marshall <marshall@zed.dev>
cc9eff89f5Antonio Scandurra committed on 12/6/2023, 6:12:01 PMparente4884f1
5 files changedLine totals unavailable