moved zoom controls to context menu

This commit is contained in:
itsmattkc
2018-12-25 01:47:15 +11:00
parent a53aac2366
commit 4ea16f41e9
6 changed files with 48 additions and 108 deletions
+2
View File
@@ -75,6 +75,8 @@ void ViewerContainer::adjust() {
child->move(widget_x, widget_y);
child->resize(widget_width, widget_height);
zoom = double(widget_width) / double(viewer->seq->width);
} else {
int zoomed_width = double(viewer->seq->width)*zoom;
int zoomed_height = double(viewer->seq->height)*zoom;