Changeset 197073 in webkit
- Timestamp:
- Feb 25, 2016, 1:45:15 AM (11 years ago)
- Location:
- releases/WebKitGTK/webkit-2.12/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/InlineSwatch.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.12/Source/WebInspectorUI/ChangeLog
r196798 r197073 1 2016-02-19 Devin Rousso <dcrousso+webkit@gmail.com> 2 3 Web Inspector: Color picker in Visual Styles sidebar should not default to zero alpha 4 https://bugs.webkit.org/show_bug.cgi?id=154474 5 <rdar://problem/24750217> 6 7 Reviewed by Timothy Hatcher. 8 9 * UserInterface/Views/InlineSwatch.js: 10 (WebInspector.InlineSwatch.prototype._fallbackValue): 11 Changed the fallback value for color from transparent to white so that 12 the color picker starts out with an alpha value of 1. 13 14 (WebInspector.InlineSwatch.prototype._handleContextMenuEvent): 15 Prevents context menu events from having an effect if there is no value 16 for them to modify. 17 1 18 2016-02-18 Devin Rousso <dcrousso+webkit@gmail.com> 2 19 -
releases/WebKitGTK/webkit-2.12/Source/WebInspectorUI/UserInterface/Views/InlineSwatch.js
r196798 r197073 90 90 return WebInspector.Gradient.fromString("linear-gradient(transparent, transparent)"); 91 91 case WebInspector.InlineSwatch.Type.Color: 92 return WebInspector.Color.fromString(" transparent");92 return WebInspector.Color.fromString("white"); 93 93 default: 94 94 return null; … … 162 162 _handleContextMenuEvent(event) 163 163 { 164 if (!this._value) 165 return; 166 164 167 let contextMenu = WebInspector.ContextMenu.createFromEvent(event); 165 168
Note:
See TracChangeset
for help on using the changeset viewer.