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

icon view: Refresh icon positions for manual layout on zoom change #1676

Merged
merged 1 commit into from
Nov 23, 2022

Commits on Nov 9, 2022

  1. icon view: Refresh icon positions for manual layout on zoom change

    When zoom changes on a manual layout icon view, the available area
    changes and can lead to some icons to either overflow or be able to go
    back to their actually saved position.
    
    This is done correctly when the view is reloaded entirely, but not
    in response to zoom change, leading to disappearing icons (when zoom
    increases) or unexpected empty space (when zoom decreases).
    
    Fix this by re-computing actual positions based on saved positions when
    zoom changes, to match what would actually happen when the view gets
    loaded.
    cwendling committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    61e6e64 View commit details
    Browse the repository at this point in the history