Title: [201827] trunk/Source/WebInspectorUI
Revision
201827
Author
timo...@apple.com
Date
2016-06-08 13:21:40 -0700 (Wed, 08 Jun 2016)

Log Message

Web Inspector: Command-W should not close Web Inspector tabs; it should close the window
https://bugs.webkit.org/show_bug.cgi?id=158538
rdar://problem/26699215

Reviewed by Brian Burg.

* UserInterface/Views/TabBrowser.js:
(WebInspector.TabBrowser): Change shortcut to Command-Shift-W.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (201826 => 201827)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-06-08 19:50:20 UTC (rev 201826)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-06-08 20:21:40 UTC (rev 201827)
@@ -1,3 +1,14 @@
+2016-06-08  Timothy Hatcher  <timo...@apple.com>
+
+        Web Inspector: Command-W should not close Web Inspector tabs; it should close the window
+        https://bugs.webkit.org/show_bug.cgi?id=158538
+        rdar://problem/26699215
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/TabBrowser.js:
+        (WebInspector.TabBrowser): Change shortcut to Command-Shift-W.
+
 2016-06-07  Brian Burg  <bb...@apple.com>
 
         Web Inspector: reduce timer churn when processing many DOM.attributeModified messages

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TabBrowser.js (201826 => 201827)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TabBrowser.js	2016-06-08 19:50:20 UTC (rev 201826)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TabBrowser.js	2016-06-08 20:21:40 UTC (rev 201827)
@@ -56,7 +56,7 @@
                 this._tabBar.removeTabBarItem(selectedTabBarItem);
         }
 
-        this._closeCurrentTabKeyboardShortuct = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl, "W", closeCurrentTab);
+        this._closeCurrentTabKeyboardShortuct = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Shift, "W", closeCurrentTab);
 
         this._showNextTabKeyboardShortcut1 = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Shift, WebInspector.KeyboardShortcut.Key.RightCurlyBrace, showNextTab);
         this._showPreviousTabKeyboardShortcut1 = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Shift, WebInspector.KeyboardShortcut.Key.LeftCurlyBrace, showPreviousTab);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to