Skip to content

Commit

Permalink
Moves MapTip away from the mouse cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
SrNetoChan authored and nyalldawson committed Jul 30, 2019
1 parent b9482dd commit 8b052fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaptip.cpp
Expand Up @@ -146,7 +146,7 @@ void QgsMapTip::showMapTip( QgsMapLayer *pLayer,

QgsDebugMsg( tipHtml );

mWidget->move( pixelPosition.x(),
mWidget->move( pixelPosition.x() + 20,
pixelPosition.y() );

mWebView->setHtml( tipHtml );
Expand Down

0 comments on commit 8b052fd

Please sign in to comment.