Skip to content

fix(bank): increase FilterDimensions min height to reject stray pixels#116

Merged
Garrett3Nelson merged 1 commit intoTorwent:masterfrom
orkabyte:master
Mar 7, 2026
Merged

fix(bank): increase FilterDimensions min height to reject stray pixels#116
Garrett3Nelson merged 1 commit intoTorwent:masterfrom
orkabyte:master

Conversation

@orkabyte
Copy link
Copy Markdown

@orkabyte orkabyte commented Mar 7, 2026

Stray pixels on bank buttons (e.g. after DepositAll) can match the separator color CTS0($232B2E, 5) and pass FilterDimensions(0, 0, 2, 32) as 1x1 clusters. This causes all four Get*Section() methods to fail since they require exactly 3 separators.

Raising the minimum height from 0 to 20 filters out stray pixels while keeping the real 1x29 separator lines.

BEFORE:
image

AFTER:
image

@orkabyte orkabyte closed this Mar 7, 2026
@Torwent Torwent reopened this Mar 7, 2026
Stray pixels on bank buttons (e.g. after DepositAll) can match the
separator color CTS0($232B2E, 5) and pass FilterDimensions(0, 0, 2, 32)
as 1x1 clusters. This causes all four Get*Section() methods to fail
since they require exactly 3 separators.

Raising the minimum height from 0 to 20 filters out stray pixels while
keeping the real 1x29 separator lines.
@Garrett3Nelson Garrett3Nelson merged commit 7b9b05a into Torwent:master Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants