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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2565113002: DevTools: update console viewport scroll when prompt is resized (Closed)
Patch Set: DevTools: console should update viewport when codemirror resizes Created 4 years 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/console/ConsoleView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
index 6f0d6aa9836a3ef806e4333544ba3b655ea86b3f..36e89c47f8d3b65dbc8fcebcb2f03dc1aa912776 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
@@ -161,6 +161,13 @@ Console.ConsoleView = class extends UI.VBox {
}
/**
+ * @override
+ */
+ onLayout() {
+ this._scheduleViewportRefresh();
+ }
+
+ /**
* @return {!Console.ConsoleView}
*/
static instance() {

Powered by Google App Engine
This is Rietveld 408576698