Skip to content

Fix BScrollBar FrameResized callback arguments - #20

Open
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bscrollbar-frameresized-callback
Open

Fix BScrollBar FrameResized callback arguments#20
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bscrollbar-frameresized-callback

Conversation

@cyberman

@cyberman cyberman commented Jul 28, 2026

Copy link
Copy Markdown

Problem

PyBScrollBar::FrameResized() forwards newWidth as both callback arguments, so Python overrides never receive the actual height.

Fix

Pass newHeight as the second argument.

Validation

Verified that a resize reported as (123.5, 45.25) reaches the Python override unchanged.

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.

2 participants