Title: [239413] trunk/Source/WebInspectorUI
- Revision
- 239413
- Author
- nvasil...@apple.com
- Date
- 2018-12-19 17:22:39 -0800 (Wed, 19 Dec 2018)
Log Message
Web Inspector: Styles: shift-clicking a color-swatch to change formats starts editing the color
https://bugs.webkit.org/show_bug.cgi?id=192784
<rdar://problem/46801028>
Reviewed by Devin Rousso.
* UserInterface/Views/SpreadsheetStyleProperty.js:
(WI.SpreadsheetStyleProperty.prototype._createInlineSwatch):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (239412 => 239413)
--- trunk/Source/WebInspectorUI/ChangeLog 2018-12-20 01:22:05 UTC (rev 239412)
+++ trunk/Source/WebInspectorUI/ChangeLog 2018-12-20 01:22:39 UTC (rev 239413)
@@ -1,3 +1,14 @@
+2018-12-19 Nikita Vasilyev <nvasil...@apple.com>
+
+ Web Inspector: Styles: shift-clicking a color-swatch to change formats starts editing the color
+ https://bugs.webkit.org/show_bug.cgi?id=192784
+ <rdar://problem/46801028>
+
+ Reviewed by Devin Rousso.
+
+ * UserInterface/Views/SpreadsheetStyleProperty.js:
+ (WI.SpreadsheetStyleProperty.prototype._createInlineSwatch):
+
2018-12-19 Matt Baker <mattba...@apple.com>
Web Inspector: Elements tab: arrow key after undoing a DOM node delete selects the wrong element
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js (239412 => 239413)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js 2018-12-20 01:22:05 UTC (rev 239412)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js 2018-12-20 01:22:39 UTC (rev 239413)
@@ -483,7 +483,7 @@
// Prevent the value from editing when clicking on the swatch.
swatch.element.addEventListener("click", (event) => {
- if (this._swatchActive)
+ if (this._swatchActive || event.shiftKey)
event.stop();
});
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes