WIP components (as built)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 15:43:43 -04:00
1 parent c236ea7ece
commit 33e924f2b1
98 files changed
+2746 -1204

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ func (ch *chart) build(spec ChartSpec) (ChartResult, *ui.Element) {
if over && !plot.IsDisabled() {
active = spec.Pick(local, x, y)
}
if active < 0 && plot.Focused() && st.focus >= 0 {
if active < 0 && plot.Focused() && st.focus >= 0 && !plot.IsDisabled() {
active = st.focus
x, y = local.W/2, 0
if spec.Anchor != nil {