← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] - Implement auto panning while moving in EDA_DRAW_PANEL::OnMouseEvent()

 

> 
> Can you test the attached patch:
> It removes the if( ..) useless test (and perhaps broken) which explains 
> sometimes the panning does not happen.
> It set the cross hair position before sending the event which uses this 
> position, and ensure the zoom center does not uses a strange previous 
> position.


It works, and I like it for the short lived time

   void EDA_DRAW_PANEL::OnMouseLeaving( wxMouseEvent& event )

will likely last (until solutions to a) or b) arrive).


I have asked Chris to remove the goofy event dispatching mechanism, and simply call member
function(s), and that would wrap up my last concern beyond a) and b).


Dick




Follow ups

References