Skip to content

Commit

Permalink
fix svg size for cross-hair, capture-point, zoomin and zoomout, adjus…
Browse files Browse the repository at this point in the history
…tment for cursor position
  • Loading branch information
slarosa committed Apr 26, 2018
1 parent 74704b6 commit 4749306
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 4749306

Please sign in to comment.