Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| index bd44f0f35ad954a24f9e45391e6e9d5e309c9e3a..3e141d584e5a5c7d882d9257c26b6763aaa716ba 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
| @@ -2914,8 +2914,11 @@ WebInspector.StylesSidebarPane.CSSPropertyPrompt.prototype = { |
| } |
| // Handle numeric value increment/decrement only at this point. |
| - if (!this._isEditingName && WebInspector.handleElementValueModifications(event, this._treeElement.valueElement, finishHandler.bind(this), this._isValueSuggestion.bind(this), customNumberHandler.bind(this))) |
| + if (!this._isEditingName && WebInspector.handleElementValueModifications(event, this._treeElement.valueElement, finishHandler.bind(this), this._isValueSuggestion.bind(this), customNumberHandler.bind(this))){ |
| + if(!this._element.title) |
| + this._element.title = "Mousewheel or up/down keys. Ctrl: ±100, Shift: ±10, Alt: ±0.1"; |
|
pfeldman
2016/03/21 18:18:30
this._element.title = WebInspector.UIString("Mouse
|
| return true; |
| + } |
| return false; |
| }, |