From 8270a05f1ee9ed5884fd3a784163449fb5c8ea4c Mon Sep 17 00:00:00 2001 From: cfry Date: Fri, 23 Jul 2021 19:59:24 -0400 Subject: [PATCH] release --- doc/guide.html | 4 +++- doc/release_notes.html | 2 ++ simulator/simulate.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/guide.html b/doc/guide.html index cb862471..506c1014 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -1212,7 +1212,9 @@
Step 3
  • Rotate table: mouse-down then drag.
  • Zoom: shift-down then mouse-down then
    drag right to make bigger, drag left to make smaller
  • -
  • Pan: alt or option down, then mouse-down, then drag.
  • +
  • Pan: alt or option down,then mouse-down, + OR middle-button (scroll-wheel) down, + then drag.

  • See also New Dexter Parameters diff --git a/doc/release_notes.html b/doc/release_notes.html index 35dc3218..9f6fbfd1 100644 --- a/doc/release_notes.html +++ b/doc/release_notes.html @@ -93,6 +93,8 @@
  • Simulator: fixed to not attempt to display J6 & J7 movement if the simulator is not showing.
  • Simulator controls for rotating Dexter improved.
  • +
  • Simulator Middle button/scroll_wheel down is now an additional way to pan, + from the existing alt/option key down.
  • Improved Socket.on_receive to take the Dexter instance as an argument rather than compute it, (somewhat heuristically) from a robot_status. More reliable, less code.
  • diff --git a/simulator/simulate.js b/simulator/simulate.js index 83eefe1f..49ecda11 100644 --- a/simulator/simulate.js +++ b/simulator/simulate.js @@ -481,7 +481,7 @@ function sim_handle_mouse_move(){ sim.camera.zoom = sim.zoom_at_mouseDown + zoom_increment //(spdy * 0.1) sim.camera.updateProjectionMatrix() } - else if (sim.button == 1){ + else if (sim.altDown || (sim.button == 1)){ var panX_inc = mouseX_diff / 100 var panY_inc = mouseY_diff / 100 sim.table.position.x = sim.tableX_at_mouseDown + panX_inc