Skip to content

[26.1.2] Guide Screen buttons don't work with certain GUI scales #105

Description

@LegendaryRylex

GuideME Version: 26.1.12-beta

With adaptive GUI scaling, clicking anything in the guide screen except the page body doesn't work. The nav toolbar buttons top right, the sidebar rows, and the scrollbar thumb all just ignore clicks.

Scrolling with the mouse wheel still works, and the page content itself is still clickable.

IndepentScaleScreen#mouseClicked converts the click position into the guide's virtual coordinate space before dispatching it, which ends up calling getChildAt(x, y), but GuideME's override of getChildAt converts the position into virtual space again. By the time it checks "what's under this point," the point has been shrunk twice, and anything away from the top-left corner (like the toolbar against the right edge) is checked in the wrong spot entirely.

getChildAt shouldn't convert the position again since it's already virtual by the time it's called. I did a simple mixin on my end and dropping that second conversion fixed it for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions