Fix default crosshair having an offset

Authored by kossebau on Jul 11 2016, 4:36 PM.

Description

Fix default crosshair having an offset

Summary:
Code assumed all images used for the crosshair have a size of 21x21.
The default image though is a PNG of a pre-rendered crosshair with a shadow,
which thus is not of that size.
That pre-rendered image, crosshairs-darkened.png, also had a size of 32x32,
while the crosshair in it had a pixel width of 1, so it's center would
not be pixel aligned with the cross lines. Image now resized to have
crosshair in the middle pixels.

Test Plan: Crosshair now is centered on middle, tested e.g. with 0, 0 lonlat.

Reviewers: nienhueser, Marble, rahn

Reviewed By: nienhueser, Marble, rahn

Differential Revision: https://phabricator.kde.org/D2138

Details

Committed
kossebauJul 11 2016, 7:55 PM
Reviewer
Marble
Differential Revision
D2138: Fix default crosshair having an offset
Parents
R34:828d5d3067d0: Bump Android version number
Branches
Unknown
Tags
Unknown