diff --git a/visualization/CHANGELOG.md b/visualization/CHANGELOG.md index 9fddf0e74e..9db3f44b96 100644 --- a/visualization/CHANGELOG.md +++ b/visualization/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/) ### Added ๐Ÿš€ -- Add alternative center-focused zoom option via the `๐Ÿกน Shift`-key [#3815](https://github.com/MaibornWolff/codecharta/pull/3815) +- Add alternative center-focused zoom option via the `ALT`-key [#3815](https://github.com/MaibornWolff/codecharta/pull/3815) - Add an apply button when selecting maps [#3637](https://github.com/MaibornWolff/codecharta/pull/3637) ### Fixed ๐Ÿž diff --git a/visualization/app/codeCharta/ui/codeMap/threeViewer/threeMapControls.service.ts b/visualization/app/codeCharta/ui/codeMap/threeViewer/threeMapControls.service.ts index ad77c0a6ae..7552db79fc 100644 --- a/visualization/app/codeCharta/ui/codeMap/threeViewer/threeMapControls.service.ts +++ b/visualization/app/codeCharta/ui/codeMap/threeViewer/threeMapControls.service.ts @@ -127,12 +127,12 @@ export class ThreeMapControlsService { } window.addEventListener("keydown", event => { - if (event.key === "Shift") { + if (event.key === "Alt") { this.controls.zoomToCursor = false } }) window.addEventListener("keyup", event => { - if (event.key === "Shift") { + if (event.key === "Alt") { this.controls.zoomToCursor = true } })