Fix T48030: Can't zoom VSE properties panel
authorCampbell Barton <ideasman42@gmail.com>
Sat, 2 Apr 2016 07:52:52 +0000 (18:52 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 2 Apr 2016 07:52:52 +0000 (18:52 +1100)
source/blender/editors/interface/view2d_ops.c

index ca1efb82ae96c4c1d35489de03c78e28d7849d5b..f60fed398ec5b4c5e07eaedc653b2eda9574a7ae 100644 (file)
@@ -572,7 +572,7 @@ static void view_zoom_axis_lock_defaults(bContext *C, bool r_do_zoom_xy[2])
        if (sa && sa->spacetype == SPACE_SEQ) {
                ARegion *ar = CTX_wm_region(C);
 
-               if (ar && ar->regiontype != RGN_TYPE_PREVIEW)
+               if (ar && ar->regiontype == RGN_TYPE_WINDOW)
                        r_do_zoom_xy[1] = false;
        }
 }