Changeset 96589 in webkit


Ignore:
Timestamp:
Oct 4, 2011 7:09:06 AM (13 years ago)
Author:
caseq@chromium.org
Message:

2011-10-04 Andrey Kosyakov <caseq@chromium.org>

Web Inspector: [Extensions API] extension panel's toolbar icon is incorrect when inspector window is docked
https://bugs.webkit.org/show_bug.cgi?id=69336

Reviewed by Pavel Feldman.

  • inspector/front-end/ExtensionPanel.js: (WebInspector.ExtensionPanel):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r96588 r96589  
     12011-10-04  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Web Inspector: [Extensions API] extension panel's toolbar icon is incorrect when inspector window is docked
     4        https://bugs.webkit.org/show_bug.cgi?id=69336
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/ExtensionPanel.js:
     9        (WebInspector.ExtensionPanel):
     10
    1112011-10-04  Pavel Podivilov  <podivilov@chromium.org>
    212
  • trunk/Source/WebCore/inspector/front-end/ExtensionPanel.js

    r96586 r96589  
    2929 */
    3030
    31 WebInspector.ExtensionPanel = function(id, label, iconURL, options)
     31WebInspector.ExtensionPanel = function(id, label, iconURL)
    3232{
    3333    this._toolbarItemLabel = label;
    34     if (iconURL)
     34    if (iconURL) {
    3535        this._addStyleRule(".toolbar-item." + id + " .toolbar-icon", "background-image: url(" + iconURL + ");");
     36        this._addStyleRule(".toolbar-small .toolbar-item." + id + " .toolbar-icon", "background-position-x: -32px;");
     37    }
    3638    WebInspector.Panel.call(this, id);
    3739}
Note: See TracChangeset for help on using the changeset viewer.