From 7030c15d0c14f9fc5f532554e52cea1a38b160b9 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sat, 10 Jun 2017 17:44:17 -0400 Subject: [PATCH] Try again to fix fullscreen keyboard shortcut on linux --- modules/ui/shortcuts.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ui/shortcuts.js b/modules/ui/shortcuts.js index 99ccc5e57..179398136 100644 --- a/modules/ui/shortcuts.js +++ b/modules/ui/shortcuts.js @@ -151,8 +151,8 @@ export function uiShortcuts() { .data(function (d) { if (detected.os === 'win' && d.text === 'shortcuts.editing.commands.redo') { return ['⌘']; - } else if (detected.os === 'mac' && d.text === 'shortcuts.browsing.display_options.fullscreen') { - return ['⌃', '⌘']; + } else if (detected.os !== 'mac' && d.text === 'shortcuts.browsing.display_options.fullscreen') { + return []; } else { return d.modifiers; } @@ -178,8 +178,8 @@ export function uiShortcuts() { var arr = d.shortcuts; if (detected.os === 'win' && d.text === 'shortcuts.editing.commands.redo') { arr = ['Y']; - } else if (detected.os === 'mac' && d.text === 'shortcuts.browsing.display_options.fullscreen') { - arr = ['F', 'F11']; + } else if (detected.os !== 'mac' && d.text === 'shortcuts.browsing.display_options.fullscreen') { + arr = ['F11']; } return arr.map(function(s) {