element editor: improve the drag of the scene with wheel click

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2419 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-08-08 19:58:15 +00:00
parent 5523d06d8a
commit 835288f02f
5 changed files with 22 additions and 43 deletions

View File

@@ -157,7 +157,7 @@ void PastePartsCommand::undo() {
editor_view_ -> offset_paste_count_ = old_offset_paste_count_;
editor_view_ -> start_top_left_corner_ = old_start_top_left_corner_;
}
editor_view_ -> adjustSceneRect();
editor_view_ -> zoomFit();
}
/// refait le coller
@@ -176,7 +176,7 @@ void PastePartsCommand::redo() {
}
}
editor_scene_ -> slot_select(content_);
editor_view_ -> adjustSceneRect();
editor_view_ -> zoomFit();
}
/**