From fd7970092a278ece4715c513e08a64fb084497bd Mon Sep 17 00:00:00 2001 From: Peter Bierma Date: Thu, 1 Aug 2024 11:49:47 -0400 Subject: [PATCH] Make the comment clearer. --- src/memray/reporters/assets/flamegraph_common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/memray/reporters/assets/flamegraph_common.js b/src/memray/reporters/assets/flamegraph_common.js index e75b22c4fd..4cfa1eda08 100644 --- a/src/memray/reporters/assets/flamegraph_common.js +++ b/src/memray/reporters/assets/flamegraph_common.js @@ -258,8 +258,8 @@ export function initThreadsDropdown(data, merge_threads) { } export function drawChart(chart_data) { - // In order to retain the "invertedness" when updating the graph, true - // by default. + // In order to retain the "invertedness" when updating the graph. + // true by default (there was no previous graph). let previouslyInverted = chart ? chart.inverted() : true; // Clear any existing chart