[TD]fix disappearing balloon cursor
This commit is contained in:
@@ -225,7 +225,8 @@ void QGVNavStyle::handleMouseMoveEvent(QMouseEvent* event)
|
||||
{
|
||||
// Base::Console().Message("QGVNS::handleMouseMoveEvent()\n");
|
||||
if (getViewer()->isBalloonPlacing()) {
|
||||
getViewer()->setBalloonCursorPos(event->pos());
|
||||
balloonCursorMovement(event);
|
||||
return;
|
||||
}
|
||||
|
||||
if (panningActive) {
|
||||
@@ -398,6 +399,13 @@ void QGVNavStyle::placeBalloon(QPoint p)
|
||||
getViewer()->setBalloonPlacing(false);
|
||||
}
|
||||
|
||||
void QGVNavStyle::balloonCursorMovement(QMouseEvent *event)
|
||||
{
|
||||
getViewer()->setBalloonCursorPos(event->pos());
|
||||
event->accept();
|
||||
return;
|
||||
}
|
||||
|
||||
//****************************************
|
||||
KeyCombination::KeyCombination() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user