Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
cfry committed Jul 23, 2021
1 parent ce37ecc commit 8270a05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion doc/guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,9 @@ <h5>Step 3</h5>
<li><b>Rotate table</b>: mouse-down then drag.</li>
<li><b>Zoom</b>: shift-down then mouse-down then <br/>
drag right to make bigger, drag left to make smaller</li>
<li><b>Pan</b>: alt or option down, then mouse-down, then drag.</li>
<li><b>Pan</b>: alt or option down,then mouse-down,
OR middle-button (scroll-wheel) down,
then drag.</li>
</ul><br/>
See also <a href="#" onclick="open_doc(new_dexter_parameters_doc_id, event)">
New Dexter Parameters</a>
Expand Down
2 changes: 2 additions & 0 deletions doc/release_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
<li><b>Simulator</b>: fixed to not attempt to display J6 & J7 movement if the simulator
is not showing.</li>
<li>Simulator controls for rotating Dexter improved.</li>
<li>Simulator Middle button/scroll_wheel down is now an additional way to pan,
from the existing alt/option key down.</li>
<li>Improved <code>Socket.on_receive</code> to take the Dexter instance as an argument
rather than compute it,
(somewhat heuristically) from a robot_status. More reliable, less code.</li>
Expand Down
2 changes: 1 addition & 1 deletion simulator/simulate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8270a05

Please sign in to comment.