ui: Use update loop in graph panning and zooming for smooth interaction

This commit is contained in:
Eberhard Graether
2016-03-16 15:03:57 +01:00
parent 2d0700cd06
commit a78e7b85d1
3 changed files with 146 additions and 77 deletions
+3 -2
View File
@@ -976,12 +976,13 @@
<ul>
<li>Drag the background area with the mouse.</li>
<li>Scroll left-right and up-down on the mouse pad.</li>
<li>Use the keys <kbd>WASD</kbd>.</li>
<li>Use the keys <kbd>W</kbd> <kbd>A</kbd> <kbd>S</kbd> <kbd>D</kbd>.</li>
</ul>
<strong>Zooming:</strong>
<ul>
<li>Hold <kbd>Shift</kbd> and scroll with mouse wheel or mouse pad.</li>
<li>Press <kbd>Shift + WS</kbd>.</li>
<li>Press <kbd>Shift + W</kbd> or <kbd>Shift + S</kbd>.</li>
<li>Press <kbd>0</kbd> to reset zoom.</li>
</ul>
<h3>Nodes</h3>