diff --git a/app/browser/tools/shortcuts.js b/app/browser/tools/shortcuts.js index 9e6e6edf..fc8c4705 100644 --- a/app/browser/tools/shortcuts.js +++ b/app/browser/tools/shortcuts.js @@ -25,14 +25,22 @@ class Shortcuts { } } +const isMac = os.platform() === 'darwin'; + const KEY_MAPS = { 'CTRL_+': () => zoom.increaseZoomLevel(), 'CTRL_=': () => zoom.increaseZoomLevel(), 'CTRL_-': () => zoom.decreaseZoomLevel(), 'CTRL__': () => zoom.decreaseZoomLevel(), 'CTRL_0': () => zoom.resetZoomLevel(), - 'ALT_ArrowLeft': () => window.history.back(), - 'ALT_ArrowRight': () => window.history.forward() + // Alt (Option) Left / Right is used to jump words in Mac, so diabling the history navigation for Mac here + ...(!isMac ? + { + 'ALT_ArrowLeft': () => window.history.back(), + 'ALT_ArrowRight': () => window.history.forward() + } + : {} + ) }; function initInternal() { diff --git a/com.github.IsmaelMartinez.teams_for_linux.appdata.xml b/com.github.IsmaelMartinez.teams_for_linux.appdata.xml index 4dcf054b..879c7dc0 100644 --- a/com.github.IsmaelMartinez.teams_for_linux.appdata.xml +++ b/com.github.IsmaelMartinez.teams_for_linux.appdata.xml @@ -14,6 +14,13 @@ https://github.com/IsmaelMartinez/teams-for-linux/issues com.github.IsmaelMartinez.teams_for_linux.desktop + + +
    +
  • Fix: MacOS - Disable Option + Left / Right keyboard shortcuts for history navigation (it is used for word jumping on MacOS)
  • +
+
+
    diff --git a/package.json b/package.json index c68b9923..5863bf61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "teams-for-linux", - "version": "1.4.10", + "version": "1.4.11", "main": "app/index.js", "description": "Unofficial client for Microsoft Teams for Linux", "homepage": "https://github.com/IsmaelMartinez/teams-for-linux",