Home
Phabricator
Search
Log In
Paste
P192
Masterwork From Distant Lands
Active
Public
Actions
Authored by
rkflx
on Apr 6 2018, 9:48 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/lib/documentview/abstractimageview.cpp b/lib/documentview/abstractimageview.cpp
index ab10eda8..75095c72 100644
--- a/lib/documentview/abstractimageview.cpp
+++ b/lib/documentview/abstractimageview.cpp
@@ -139,6 +139,7 @@ AbstractImageView::AbstractImageView(QGraphicsItem* parent)
d->mScrollPos = QPointF(0, 0);
setFocusPolicy(Qt::WheelFocus);
setFlag(ItemIsSelectable);
+ setFlag(ItemClipsChildrenToShape);
setAcceptHoverEvents(true);
d->setupZoomCursor();
updateCursor();
diff --git a/lib/documentview/svgviewadapter.cpp b/lib/documentview/svgviewadapter.cpp
index 055a3cc0..9d1a2ded 100644
--- a/lib/documentview/svgviewadapter.cpp
+++ b/lib/documentview/svgviewadapter.cpp
@@ -87,7 +87,7 @@ void SvgImageView::onZoomChanged()
{
mSvgItem->setScale(zoom());
adjustItemPos();
- update();
+// update();
}
void SvgImageView::onImageOffsetChanged()
rkflx
edited the content of this paste.
(Show Details)
Apr 6 2018, 9:48 AM
rkflx
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
rkflx
updated the paste's language from
autodetect
to
autodetect
.
rkflx
mentioned this in
D11942: Fix SVGs overlapping selection rect in View compare mode
.
Apr 6 2018, 9:50 AM
Log In to Comment