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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.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/ConsolePrompt.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
index 6b8f50f9c2939558001c6a6dcd02c3e1324c325b..d5926093093cde23d5d0a954323c8fa064e1f933 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
@@ -44,6 +44,13 @@ Console.ConsolePrompt = class extends UI.Widget {
}
/**
+ * @override
+ */
+ onLayout() {
+ this.invalidateSize();
pfeldman 2016/12/13 20:06:39 What is the semantics of this code? When do you ge
luoe 2016/12/13 20:29:55 Semantics are as follows: user changes the height
+ }
+
+ /**
* @return {!Console.ConsoleHistoryManager}
*/
history() {

Powered by Google App Engine
This is Rietveld 408576698