Make a parsed spacer a value

So a frontend comparing snapshots of the tree sees an unchanged spacer
as unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 14:21:51 +00:00
parent 35d6427456
commit d83ba1145b
2 changed files with 11 additions and 14 deletions

View File

@@ -108,7 +108,7 @@ final class ServerTreeSearch implements FindBar.Listener {
if (!searchChannels) return false;
Spacers.Spacer spacer = Spacers.parse(ch.name);
if (spacer == null) return query.matches(ch.name);
return spacer.align != '*' && query.matches(spacer.caption);
return spacer.align() != '*' && query.matches(spacer.caption());
}
return false;
}