Skip to content

Commit

Permalink
Rotate less when using shift-arrow keys (change 5 deg to 2.5 deg)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Dec 13, 2024
1 parent cb45069 commit 4d6d97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/behaviors/MapInteractionBehavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class MapInteractionBehavior extends AbstractBehavior {

// rotate
if (e.shiftKey) {
const ROT_AMOUNT = 5 * DEG2RAD; // ± 5°
const ROT_AMOUNT = 2.5 * DEG2RAD; // ± 2.
const t = viewport.transform.props;
let delta;
if (e.key === 'ArrowLeft') {
Expand Down

0 comments on commit 4d6d97b

Please sign in to comment.