diff --git a/src/aptus/web/static/aptus.js b/src/aptus/web/static/aptus.js index 2ca4660..f027299 100644 --- a/src/aptus/web/static/aptus.js +++ b/src/aptus/web/static/aptus.js @@ -345,7 +345,7 @@ const App = { const dy = movedto.y - this.rubstart.y; if (!this.mouse_dragging && Math.abs(dx) + Math.abs(dy) > 5) { this.mouse_dragging = true; - this.set_moving(this.mouse_shift); + this.set_moving(!this.mouse_shift); } clear_canvas(view.overlay_canvas); if (this.mouse_dragging) { diff --git a/src/aptus/web/templates/mainpage.html b/src/aptus/web/templates/mainpage.html index d7ff6da..ed41887 100644 --- a/src/aptus/web/templates/mainpage.html +++ b/src/aptus/web/templates/mainpage.html @@ -57,8 +57,8 @@

click: zoom in {{altnote}}
shift-click: zoom out {{altnote}}
- click-drag: select new viewing rectangle
- shift-click-drag: pan the view
+ click-drag: pan the view
+ shift-click-drag: select new viewing rectangle

{{altnote}} +{{alt}}: just a little