Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #6937 from slarosa/fix_svg_size
fix svg size for cross-hair, capture-point, zoomin and zoomout, fixes #18806
  • Loading branch information
m-kuhn committed May 7, 2018
2 parents b9884c2 + 4749306 commit 3264b0b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion images/themes/default/cursors/mCapturePoint.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/themes/default/cursors/mCrossHair.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/themes/default/cursors/mZoomIn.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/themes/default/cursors/mZoomOut.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/core/qgsapplication.cpp
Expand Up @@ -572,7 +572,7 @@ QCursor QgsApplication::getThemeCursor( Cursor cursor )
if ( app->devicePixelRatio() >= 2 )
{
scale *= app->devicePixelRatio();
activeX = activeY = 5;
activeX = activeY = 8;
}
#endif
cursorIcon = QCursor( icon.pixmap( std::ceil( scale * 32 ), std::ceil( scale * 32 ) ), std::ceil( scale * activeX ), std::ceil( scale * activeY ) );
Expand Down

0 comments on commit 3264b0b

Please sign in to comment.