Skip to content

Commit f05195d

Browse files
committed
Icycle graph: show one graph for Current instead of one per callee
Fixes layout breaking when the current node has multiple callees.
1 parent 563322e commit f05195d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vm/moar/profiler/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ <h3>Dynamic Optimization</h3>
301301
</p>
302302

303303
<div class="icyclegraph">
304-
<div class="child" style="width: 100%" ng-repeat="callee in Current.callees" ng-include="'icycle_graph_callee_renderer.html'"></div>
304+
<div class="child" ng-repeat="callee in [Current]" ng-include="'icycle_graph_callee_renderer.html'"></div>
305305
</div>
306306

307307
<table class="table table-striped table-condensed table-bordered">
@@ -873,7 +873,7 @@ <h3>Global Deoptimization</h3>
873873

874874
moarProfApp.controller('CallGraphController', function ($scope) {
875875
$scope.Current = rawData[0].call_graph;
876-
$scope.total_time = rawData[0].total_time;
876+
$scope.total_time = rawData[0].total_time;
877877
$scope.SuchCallers = false;
878878
$scope.RecentCallers = [];
879879
$scope.predicate = "TimePercent";

0 commit comments

Comments
 (0)