Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js

Issue 2510883002: DevTools: all swatches should have a default focused element (Closed)
Patch Set: ac Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
index 18e63596860c5d31d1c4b6ad7a124db14c636487..228c2d46951483a500101cee4027af61625888a5 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/BezierEditor.js
@@ -9,6 +9,7 @@ UI.BezierEditor = class extends UI.VBox {
super(true);
this.registerRequiredCSS('ui/bezierEditor.css');
this.contentElement.tabIndex = 0;
+ this.setDefaultFocusedElement(this.contentElement);
// Preview UI
this._previewElement = this.contentElement.createChild('div', 'bezier-preview-container');

Powered by Google App Engine
This is Rietveld 408576698