| Index: third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js b/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| index ee5e40b0dd739739ec72e819a50abc8bfeb39324..7d9828676ae37c72bf7bb7c0ceea9ae31d387b34 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
|
| @@ -208,16 +208,10 @@ Components.Spectrum = class extends UI.VBox {
|
| return;
|
| if (show)
|
| this._updatePalettePanel();
|
| - this._focus();
|
| this._palettePanelShowing = show;
|
| this.contentElement.classList.toggle('palette-panel-showing', show);
|
| }
|
|
|
| - _focus() {
|
| - if (this.isShowing())
|
| - this.contentElement.focus();
|
| - }
|
| -
|
| /**
|
| * @param {string} colorText
|
| * @param {number=} animationDelay
|
| @@ -275,7 +269,6 @@ Components.Spectrum = class extends UI.VBox {
|
| }
|
|
|
| this._togglePalettePanel(false);
|
| - this._focus();
|
| }
|
|
|
| /**
|
| @@ -314,7 +307,6 @@ Components.Spectrum = class extends UI.VBox {
|
| this._shadesContainer.appendChild(shadeElement);
|
| }
|
|
|
| - this._shadesContainer.focus();
|
| this._shadesCloseHandler = closeLightnessShades.bind(this, colorElement);
|
| this._shadesContainer.ownerDocument.addEventListener('mousedown', this._shadesCloseHandler, true);
|
| }
|
|
|