Eyrim / circuit-sharp

A simple circuit schematic editor written in C#, using Electron.Net and ASP.Net MVC. This was for a school project, and has therefore been abandoned
Mozilla Public License 2.0
0 stars 1 forks source link

Placing the component ghost doesn't actually unbind it from the mouse, the mouseclick event listener must still be attached? #3

Closed Eyrim closed 2 years ago

Eyrim commented 2 years ago

Describe the bug 'Placing' the component ghost isn't unbinding it from the mouse, implying the event listener for the mouse click isn't being removed/disabled

To Reproduce Steps to reproduce the behavior:

  1. Click button
  2. 'Place' comnponent
  3. 'Place' another component without re-clicking

Expected behavior Piece shouldn't place

Eyrim commented 2 years ago

Fixed