[TD]fix disappearing balloon cursor

This commit is contained in:
wandererfan
2023-11-24 17:24:58 -05:00
committed by WandererFan
parent 402fb2fe77
commit c022aea274
12 changed files with 30 additions and 11 deletions

View File

@@ -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() {}