summaryrefslogtreecommitdiff
path: root/internal/tui/dashboard
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 19:30:27 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 19:30:27 +0300
commitd585f83e1c3757e1a1edf2802abfa6171b5234f3 (patch)
tree5d74afb3e554a43fffe5fc10a34be44d904542cb /internal/tui/dashboard
parentde3405c275898c8cd528a636dbd40e1b685cfaa5 (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/dashboard')
-rw-r--r--internal/tui/dashboard/bubbles.go2
1 files changed, 1 insertions, 1 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
}