Skip to content

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

@lllKXlll

Description

@lllKXlll

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions