summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/func/fudraw.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index be9a112fcedc..8863f2f5c0d9 100644
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -165,7 +165,12 @@ bool FuDraw::MouseButtonDown(const MouseEvent& rMEvt)
if (rMarkList.GetMarkCount() == 1)
{
SdrMark* pMark = rMarkList.GetMark(0);
- bIsImageSelected = pMark->GetMarkedSdrObj()->GetObjIdentifier() == OBJ_GRAF;
+ // tdf#89758 Extra check to avoid interactive crop preview from being
+ // proportionally scaled by default.
+ if (mpView->GetDragMode() != SDRDRAG_CROP)
+ {
+ bIsImageSelected = pMark->GetMarkedSdrObj()->GetObjIdentifier() == OBJ_GRAF;
+ }
}
}