fixed crash pressing space on null sequence

This commit is contained in:
itsmattkc
2019-03-13 21:34:44 +11:00
parent c634070368
commit 06ed5ea05d
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -574,7 +574,6 @@ void ViewerWidget::paintGL() {
glBegin(GL_QUADS);
// double ar_diff = (double(viewer->seq->width)/double(viewer->seq->height)/(double(width())/double(height())));
double zoom_factor = container->zoom/(double(width())/double(viewer->seq->width));
double zoom_size = (zoom_factor*2.0) - 2.0;
double zoom_left = -zoom_size*x_scroll - 1.0;