Moved precision zoom to shift key

This commit is contained in:
Mitchell McCaffrey 2021-03-19 16:30:37 +11:00
parent ae1b637e8e
commit 0283dd137a
3 changed files with 15 additions and 14 deletions

View File

@ -1,16 +1,17 @@
## General ## General
| Shortcut | Description | | Shortcut | Description |
| ---------------- | ------------ | | ---------------- | -------------- |
| W | Move Tool | | W | Move Tool |
| Space Bar (Hold) | Move Tool | | Space Bar (Hold) | Move Tool |
| F | Fog Tool | | F | Fog Tool |
| D | Drawing Tool | | D | Drawing Tool |
| M | Measure Tool | | M | Measure Tool |
| Q | Pointer Tool | | Q | Pointer Tool |
| N | Note Tool | | N | Note Tool |
| + | Zoom In | | + | Zoom In |
| - | Zoom Out | | - | Zoom Out |
| Shift + Zoom | Precision Zoom |
## Fog Tool ## Fog Tool

View File

@ -10,7 +10,7 @@ This release focuses on improving performance for map zooming and asset loading.
- Using the fog brush tool has been optimised and is now less likely to result in small fog shapes on intersections. - Using the fog brush tool has been optimised and is now less likely to result in small fog shapes on intersections.
- You can now clear a map from being shared by clicking the select map button with no maps highlighted. - You can now clear a map from being shared by clicking the select map button with no maps highlighted.
- Shared dice rolls now only show icons for the dice that have been rolled in the expanded view mode. - Shared dice rolls now only show icons for the dice that have been rolled in the expanded view mode.
- Holding down the Alt key while zooming will now activate a precision zoom mode, allowing mouse users to more precisely zoom maps. - Holding down the Shift key while zooming will now activate a precision zoom mode, allowing mouse users to more precisely zoom maps.
- The game reconnection message now has a more compact UI. - The game reconnection message now has a more compact UI.
--- ---

View File

@ -215,13 +215,13 @@ function useStageInteraction(
onStageScaleChange(newScale); onStageScaleChange(newScale);
} }
if (key === "Alt") { if (key === "Shift") {
setZoomSpeed(0.25); setZoomSpeed(0.25);
} }
} }
function handleKeyUp({ key }) { function handleKeyUp({ key }) {
if (key === "Alt") { if (key === "Shift") {
setZoomSpeed(1); setZoomSpeed(1);
} }
} }