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

Unified Diff: tools/turbolizer/graph-view.js

Issue 2168713005: [turbolizer] Redetermine graph bounding box after dragging a node. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@t-p1
Patch Set: Created 4 years, 5 months 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
« no previous file with comments | « tools/turbolizer/graph-layout.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/turbolizer/graph-view.js
diff --git a/tools/turbolizer/graph-view.js b/tools/turbolizer/graph-view.js
index a53a0e0b4fce4ec97ad6a2a36c52a63ab26ea5ac..aaea695f9ff5545ef9df1ea4b8b7ad27d018ed5d 100644
--- a/tools/turbolizer/graph-view.js
+++ b/tools/turbolizer/graph-view.js
@@ -471,6 +471,7 @@ class GraphView extends View {
if (state.justDragged) {
// dragged, not clicked
+ redetermineGraphBoundingBox(graph);
state.justDragged = false;
} else{
// clicked, not dragged
« no previous file with comments | « tools/turbolizer/graph-layout.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698