← Back to team overview

kicad-developers team mailing list archive

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

 

I'm still not sure how to generate patches with bzr. I really want to do
'bzr format-patch -1' like with git but I can't find an equivalent approach.

------------------------------------------------------------
revno: 4196
committer: Chris Morgan<chmorgan@xxxxxxxxx>
branch nick: kicad
timestamp: Sat 2013-06-08 16:50:48 -0400
message:
  Implement auto panning while moving in EDA_DRAW_PANEL::OnMouseEvent()

  Fixes an issue where EDA_DRAW_PANEL::OnMouseLeaving() isn't called when
the mouse leaves via the lower right
  or lower bottom edges.

  Adjustable margin causes panning to happen when the cursor enters the
margin area. Margin percentage is
  currently set to 5% of the window height or width.

  Margin can be adjusted to cause panning to occur closer to the center of
the window, making it easier for
  the user to visually track the panning event.
------------------------------------------------------------

Attachment: pan_improve.patch
Description: Binary data


Follow ups