diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-13 19:30:27 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-13 19:30:27 +0300 |
| commit | d585f83e1c3757e1a1edf2802abfa6171b5234f3 (patch) | |
| tree | 5d74afb3e554a43fffe5fc10a34be44d904542cb /internal/tui/flamegraph | |
| parent | de3405c275898c8cd528a636dbd40e1b685cfaa5 (diff) | |
refactor: make receiver types consistent per type (pointer receivers)
fileRankHeap Len/Less/Swap converted to pointer receivers to match
Push/Pop; bubbleChart HasNodes and AnimationState Settled converted
to pointer receivers to match all other methods on their types.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/tui/flamegraph')
| -rw-r--r-- | internal/tui/flamegraph/animation.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
