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

Align FlxText between all targets #2536

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Align FlxText between all targets #2536

merged 1 commit into from
Apr 18, 2022

Commits on Apr 18, 2022

  1. Align FlxText between all targets

    The desktop and mobile versions of FlxText do not render in the same visual location as web, instead rendering +1 x/y from the origin.
    
    Separately, the code for centering text on a button has always used (x - 1, y +3), even as far back as 2013. Changes to text (possibly through OpenFL) have improved centering and no longer need the (x - 1), which currently causes it to render off-center.
    Metlmeta committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    8775585 View commit details
    Browse the repository at this point in the history