-
-
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.
Drop special handling of rotation from MapCanvasMap::paint
Stop assuming absence of rotation from MapCanvasItem::setRect, but rather assume that the passed rectangle purely encodes origin and size by only looking at upperLeft corner (xmin,ymax) and width/height of it, scaled by current map resolution. Makes the code simpler (maybe) and still fixes the regression. Also fixes glitches on zoom while map is rotated. Makes glitches on rotation worst, but again that's not a real regression.
- Loading branch information
Sandro Santilli
committed
Dec 13, 2014
1 parent
90db597
commit 6967381
Showing
3 changed files
with
15 additions
and
18 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