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

Fix button placement in minimized in-game windows #1614

Merged

Commits on Jul 26, 2023

  1. Add GetFullSize() to IngameWindow

    Returns the full size of the window, even when minimized.
    falbrechtskirchinger committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    477e71c View commit details
    Browse the repository at this point in the history
  2. Fix button placement in minimized in-game windows

    Some windows position their buttons based on GetSize().y, which results
    in incorrect placement if the window is persisted and minimized.
    Replace uses of GetSize() with GetFullSize().
    
    Affected windows:
    * iwBuildings
    * iwDistribution
    * iwWares
    falbrechtskirchinger committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    f320335 View commit details
    Browse the repository at this point in the history