Fix T39597: Missing entries in VSE Preview menu
[blender.git] / source / blender / editors / space_sequencer / sequencer_edit.c
index f14eb2f1b18490e28d6a58f12be119592ac40e87..9b150366a59ed8e13b90500b1fba4238269e687f 100644 (file)
@@ -2296,7 +2296,7 @@ static int sequencer_view_zoom_ratio_exec(bContext *C, wmOperator *op)
        float facx = BLI_rcti_size_x(&v2d->mask) / winx;
        float facy = BLI_rcti_size_y(&v2d->mask) / winy;
 
-       BLI_rctf_resize(&v2d->cur, floorf(winx * facx * ratio + 0.5f), floorf(winy * facy * ratio + 0.5f));
+       BLI_rctf_resize(&v2d->cur, floorf(winx * facx / ratio + 0.5f), floorf(winy * facy / ratio + 0.5f));
 
        ED_region_tag_redraw(CTX_wm_region(C));