mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-03 12:19:31 -05:00
gui: network_view: make network graph draggable through hand
This commit is contained in:
parent
a394e6db39
commit
0d7174225f
@ -40,6 +40,7 @@ GraphWidget::GraphWidget(QWidget *)
|
||||
setRenderHint(QPainter::Antialiasing);
|
||||
setTransformationAnchor(AnchorUnderMouse);
|
||||
setResizeAnchor(AnchorViewCenter);
|
||||
setDragMode(QGraphicsView::ScrollHandDrag);
|
||||
_friction_factor = 1.0f ;
|
||||
|
||||
scale(qreal(0.8), qreal(0.8));
|
||||
|
Loading…
x
Reference in New Issue
Block a user