-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix and update to Freeze/Thaw, Move, and Rotate Label tools
Updates - Move tool now preserves calculated x, y offset for upside-down labels, when initially moved and data-defined fields have no previous data. - Move tool now stores the label's PAL solution for rotation on initial move, if rotation is data-defined with no previous data. - Freeze/Thaw and Move tools now support all variations of previously data-defined halign and valign options on initial freeze. - Freeze/Thaw tool has updated key modifiers that should work across major platforms. - Tests for whether layer labels support data-defined rotation moved to base QgsMapToolLabel class. Fixes - Fix bug where labels defined in map units causing font to show as pointsize of same integer at small map scales. - Half of a fix for rotation point of labels with data-defined size of map units actually being based off of point size. (still references the layer-defined font size somewhere in the rotation point calculation) - Valign settings of Base and Half now more accurately key off of inverse of font ascent (instead of descent). No discernible shift occurs now on initial freeze.
- Loading branch information
Showing
8 changed files
with
134 additions
and
86 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
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
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
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