diff options
author | Colomban Wendling <[email protected]> | 2022-11-23 18:32:05 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-23 18:32:05 +0100 |
commit | af235d070905b146878bfbf11a88b37f94a07da7 (patch) | |
tree | 0c051f191f884f1e6ca44082f552033d44097acd /src/file-manager/fm-properties-window.c | |
parent | 14dd4822ddbcafecd3bfb283920b6a60507134bd (diff) | |
download | caja-af235d070905b146878bfbf11a88b37f94a07da7.tar.bz2 caja-af235d070905b146878bfbf11a88b37f94a07da7.tar.xz |
icon view: Refresh icon positions for manual layout on zoom change (#1676)
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.
Diffstat (limited to 'src/file-manager/fm-properties-window.c')
0 files changed, 0 insertions, 0 deletions