diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 22:44:34 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 22:44:34 +0200 |
| commit | 1943f4395d477c9a0f9dad4ce78339b7f1163862 (patch) | |
| tree | c07545eb40cdcc15868c6ec994933623f531d170 /internal/tui/dashboard | |
| parent | 5d6b2cff5fa13700fdfcc30d7e30f5cece2e6d38 (diff) | |
task 361: add flamegraph control actions and toolbar
Diffstat (limited to 'internal/tui/dashboard')
| -rw-r--r-- | internal/tui/dashboard/model.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/dashboard/model.go b/internal/tui/dashboard/model.go index e8c1cb2..a1aaf89 100644 --- a/internal/tui/dashboard/model.go +++ b/internal/tui/dashboard/model.go @@ -116,7 +116,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { if m.activeTab != TabFlame { return m, nil } - if m.liveTrie != nil && m.liveTrie.Version() != m.flamegraphModel.LastVersion() { + if m.liveTrie != nil && !m.flamegraphModel.Paused() && m.liveTrie.Version() != m.flamegraphModel.LastVersion() { m.flamegraphModel.RefreshFromLiveTrie() } return m, flameTickCmd() |
