Skip to content

Commit

Permalink
ViewProviderAnnotation: Hide dragger feedback during translation
Browse files Browse the repository at this point in the history
  • Loading branch information
hlorus committed Dec 5, 2023
1 parent d37406e commit a792b9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Gui/ViewProviderAnnotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,11 @@ void ViewProviderAnnotationLabel::attach(App::DocumentObject* f)
dragger->addMotionCallback(dragMotionCallback, this);

dragger->setPartAsPath("translator", imagePath);

// Hide the dragger feedback during translation
dragger->setPart("translatorActive", NULL);
dragger->setPart("xAxisFeedback", NULL);
dragger->setPart("yAxisFeedback", NULL);
}
}

Expand Down

0 comments on commit a792b9a

Please sign in to comment.