shithub: dmap

Download patch

ref: c183f656495c07f3c600a09185073a00076c2e62
parent: 901503e77b462db789885a3b9424ad00434b0699
author: qwx <qwx@sciops.net>
date: Tue Aug 24 11:12:36 EDT 2021

swap pan button, makes more sense

--- a/dmap.c
+++ b/dmap.c
@@ -356,7 +356,7 @@
 				view = addpt(center, Pt(vx, vy));
 				redraw();
 			}
-			if(m.buttons & 4){
+			if(m.buttons & 1){
 				mo = subpt(m.xy, mo);
 				view = addpt(view, mo);
 				vx = view.x - center.x;