Changeset 199082 in webkit


Ignore:
Timestamp:
Apr 5, 2016, 4:20:34 PM (10 years ago)
Author:
timothy@apple.com
Message:

Web Inspector: Command-Option-R opens Inspector details sidebar or Responsive Design Mode, should only do one

https://bugs.webkit.org/show_bug.cgi?id=156258
rdar://problem/25483871

Reviewed by Joseph Pecoraro.

  • UserInterface/Base/Main.js:

(WebInspector.contentLoaded): Change shortcuts to Command-Option-0 and Command-Shift-0.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r199077 r199082  
     12016-04-05  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: Command-Option-R opens Inspector details sidebar or Responsive Design Mode, should only do one
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=156258
     6        rdar://problem/25483871
     7
     8        Reviewed by Joseph Pecoraro.
     9
     10        * UserInterface/Base/Main.js:
     11        (WebInspector.contentLoaded): Change shortcuts to Command-Option-0 and Command-Shift-0.
     12
    1132016-04-05  Matt Baker  <mattbaker@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Base/Main.js

    r198794 r199082  
    258258    this.openResourceKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.Command | WebInspector.KeyboardShortcut.Modifier.Shift, "O", this._showOpenResourceDialog.bind(this));
    259259
    260     this.navigationSidebarKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Option, "L", this.toggleNavigationSidebar.bind(this));
    261     this.detailsSidebarKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Option, "R", this.toggleDetailsSidebar.bind(this));
     260    this.navigationSidebarKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Shift, "0", this.toggleNavigationSidebar.bind(this));
     261    this.detailsSidebarKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Option, "0", this.toggleDetailsSidebar.bind(this));
    262262
    263263    this._increaseZoomKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl, WebInspector.KeyboardShortcut.Key.Plus, this._increaseZoom.bind(this));
Note: See TracChangeset for help on using the changeset viewer.