Switched default mouse buttons for action and drag.
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 26 Sep 2019 17:35:26 +0000 (19:35 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 26 Sep 2019 17:35:26 +0000 (19:35 +0200)
This makes it easier to move the view using the touchpad of a laptop.
Also it reflects that the user will rarely want to interact with the
model (via clicking), but frequently want to look around.

plugins/net.mograsim.preferences/src/net/mograsim/preferences/DefaultPreferences.java

index da01459..d288800 100644 (file)
@@ -26,9 +26,9 @@ public class DefaultPreferences extends Preferences
                case "net.mograsim.logic.model.debug.hlsshelldepth":
                        return 0;
                case "net.mograsim.logic.model.button.action":
-                       return 1;
-               case "net.mograsim.logic.model.button.drag":
                        return 3;
+               case "net.mograsim.logic.model.button.drag":
+                       return 1;
                case "net.mograsim.logic.model.button.zoom":
                        return 2;
                default: