From 7c656e7b02054d6ccf73a99c624b16fade029d41 Mon Sep 17 00:00:00 2001 From: hlorus Date: Thu, 30 Nov 2023 08:19:18 +0100 Subject: [PATCH] ViewProviderAnnotation: Use the label as transformation handle --- src/Gui/ViewProviderAnnotation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/ViewProviderAnnotation.cpp b/src/Gui/ViewProviderAnnotation.cpp index bc2f03249191..553f30bc93d3 100644 --- a/src/Gui/ViewProviderAnnotation.cpp +++ b/src/Gui/ViewProviderAnnotation.cpp @@ -388,6 +388,8 @@ void ViewProviderAnnotationLabel::attach(App::DocumentObject* f) dragger->addStartCallback(dragStartCallback, this); dragger->addFinishCallback(dragFinishCallback, this); dragger->addMotionCallback(dragMotionCallback, this); + + dragger->setPartAsPath("translator", imagePath); } }