diff options
Diffstat (limited to 'internal/tui')
| -rw-r--r-- | internal/tui/dashboard/bubbles.go | 2 | ||||
| -rw-r--r-- | internal/tui/flamegraph/animation.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/dashboard/bubbles.go b/internal/tui/dashboard/bubbles.go index 8f9b745..96ebea1 100644 --- a/internal/tui/dashboard/bubbles.go +++ b/internal/tui/dashboard/bubbles.go @@ -377,7 +377,7 @@ func (c *bubbleChart) MoveSelection(delta int) bool { return true } -func (c bubbleChart) HasNodes() bool { +func (c *bubbleChart) HasNodes() bool { return len(c.nodes) > 0 } diff --git a/internal/tui/flamegraph/animation.go b/internal/tui/flamegraph/animation.go index 103d43b..2bebba3 100644 --- a/internal/tui/flamegraph/animation.go +++ b/internal/tui/flamegraph/animation.go @@ -126,7 +126,7 @@ func (a *AnimationState) CurrentFrames() []tuiFrame { } // Settled reports whether all active springs are at rest. -func (a AnimationState) Settled() bool { +func (a *AnimationState) Settled() bool { return a.settled } |
