[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (a0ec8ebe927fb1128f1f50c4bba23a7ad1486eeb)



The branch, master has been updated
       via  a0ec8ebe927fb1128f1f50c4bba23a7ad1486eeb (commit)
       via  583daf65957133968e5e5fe674db6d8a4501cc63 (commit)
       via  af5bb35cfb2283037a28cb5f7ec97734a95738d2 (commit)
      from  f9ad6634a55f7f79106945e3307aafe0d39eae61 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gtk/gtkhid-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit a0ec8ebe927fb1128f1f50c4bba23a7ad1486eeb
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Fix up paning when flipping the board.
    
    I'm not sure when this got broken, but it was probably my fault ;)

:100644 100644 c917e43... 83df23f... M	src/hid/gtk/gtkhid-main.c

=========
 Changes
=========

commit a0ec8ebe927fb1128f1f50c4bba23a7ad1486eeb
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Fix up paning when flipping the board.
    
    I'm not sure when this got broken, but it was probably my fault ;)

diff --git a/src/hid/gtk/gtkhid-main.c b/src/hid/gtk/gtkhid-main.c
index c917e43..83df23f 100644
--- a/src/hid/gtk/gtkhid-main.c
+++ b/src/hid/gtk/gtkhid-main.c
@@ -1458,12 +1458,12 @@ SwapSides (int argc, char **argv, int x, int y)
   if (do_flip_x)
     {
 	flipd = PCB->MaxWidth / 2 - SIDE_X (gport->pcb_x);
-	ghid_port_ranges_pan (2 * flipd, 0, TRUE);
+	ghid_port_ranges_pan (-2 * flipd, 0, TRUE);
     }
   if (do_flip_y)
     {
 	flipd = PCB->MaxHeight / 2 - SIDE_Y (gport->pcb_y);
-	ghid_port_ranges_pan (0, 2 * flipd, TRUE);
+	ghid_port_ranges_pan (0, -2 * flipd, TRUE);
     }
 
   ghid_invalidate_all ();




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs