refactor: change pan method
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
NetworkGraphicsScene::NetworkGraphicsScene()
|
||||
: QGraphicsScene()
|
||||
{
|
||||
sceneWidth_ = 64000;
|
||||
sceneHeight_ = 64000;
|
||||
|
||||
setSceneRect(sceneWidth_/-2.0f, sceneHeight_/-2.0f, sceneWidth_, sceneHeight_);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user