Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nez.UI SetScrollBarPositions does opposite of parameter name. #778

Open
lllKXlll opened this issue Nov 9, 2023 · 0 comments
Open

Nez.UI SetScrollBarPositions does opposite of parameter name. #778

lllKXlll opened this issue Nov 9, 2023 · 0 comments

Comments

@lllKXlll
Copy link

lllKXlll commented Nov 9, 2023

public ScrollPane SetScrollBarPositions(bool bottom, bool right)
{
_hScrollOnBottom = bottom;
_vScrollOnRight = right;
return this;
}

_hScrollOnBottom is doing the opposite of what's implied when set to True, putting the horizontal scrollbar on TOP of the scrollpane.
A quick fix would be to simply rename it to _hScrollOnTop.

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

No branches or pull requests

1 participant