-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the first layers loaded into a project is non-valid (e.g. qlrs
pointing to a broken path), then defer the default zoom to the layer's extent until AFTER the layer path is fixed Avoids the situation where a user: - loads a broken qlr - canvas goes to a invalid extent, since the first loaded layer has an invalid extent - user fixes the layer path, but there's no visible changes -- because the canvas is pointing to some random location
- Loading branch information
1 parent
a4eb6b0
commit 0224b8e
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters