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
| Shortcut | Description |
| ---------------- | ------------ |
| W | Move Tool |
| Space Bar (Hold) | Move Tool |
| F | Fog Tool |
| D | Drawing Tool |
| M | Measure Tool |
| Q | Pointer Tool |
| N | Note Tool |
| + | Zoom In |
| - | Zoom Out |
| Shortcut | Description |
| ---------------- | -------------- |
| W | Move Tool |
| Space Bar (Hold) | Move Tool |
| F | Fog Tool |
| D | Drawing Tool |
| M | Measure Tool |
| Q | Pointer Tool |
| N | Note Tool |
| + | Zoom In |
| - | Zoom Out |
| Shift + Zoom | Precision Zoom |
## 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.
- 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.
- 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.
---

View File

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