Changeset 281139 in webkit
- Timestamp:
- Aug 17, 2021, 9:01:58 AM (4 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r280989 r281139 1 2021-08-17 Razvan Caliman <rcaliman@apple.com> 2 3 Web Inspector: Do not show contextual documentation popup in the Changes panel 4 https://bugs.webkit.org/show_bug.cgi?id=229001 5 <rdar://problem/81792379> 6 7 Reviewed by Devin Rousso. 8 9 Add config option to WI.SpreadsheetStyleProperty to prevent showing a contextual documentation button. 10 11 * UserInterface/Views/ChangesDetailsSidebarPanel.js: 12 (WI.ChangesDetailsSidebarPanel.prototype._createRuleElement.onEach): 13 * UserInterface/Views/SpreadsheetStyleProperty.js: 14 (WI.SpreadsheetStyleProperty.prototype._addContextualDocumentationButton): 15 1 16 2021-08-12 Patrick Angle <pangle@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Views/ChangesDetailsSidebarPanel.js
r270134 r281139 144 144 145 145 const delegate = null; 146 let stylePropertyView = new WI.SpreadsheetStyleProperty(delegate, cssProperty, {readOnly: true });146 let stylePropertyView = new WI.SpreadsheetStyleProperty(delegate, cssProperty, {readOnly: true, hideDocumentation: true}); 147 147 propertyLineElement.append(WI.indentString(), stylePropertyView.element, "\n"); 148 148 } -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js
r279510 r281139 35 35 this._property = property; 36 36 this._readOnly = options.readOnly || false; 37 this._hideDocumentation = !!options.hideDocumentation; 37 38 this._element = document.createElement("div"); 38 39 … … 528 529 _addContextualDocumentationButton() 529 530 { 531 if (this._hideDocumentation) 532 return; 533 530 534 if (this._contextualDocumentationButton) { 531 535 this._contextualDocumentationButton.remove();
Note:
See TracChangeset
for help on using the changeset viewer.