Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[fix #19092] fix big cursors on Mac (#8152)
  • Loading branch information
3nids committed Oct 15, 2018
1 parent bf2dae2 commit 4cc4bab
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/qgsapplication.cpp
Expand Up @@ -596,13 +596,6 @@ QCursor QgsApplication::getThemeCursor( Cursor cursor )
{
// Apply scaling
float scale = Qgis::UI_SCALE_FACTOR * app->fontMetrics().height() / 32.0;
#ifdef Q_OS_MACX
if ( app->devicePixelRatio() >= 2 )
{
scale *= app->devicePixelRatio();
activeX = activeY = 8;
}
#endif
cursorIcon = QCursor( icon.pixmap( std::ceil( scale * 32 ), std::ceil( scale * 32 ) ), std::ceil( scale * activeX ), std::ceil( scale * activeY ) );
}
if ( app )
Expand Down

0 comments on commit 4cc4bab

Please sign in to comment.