[Bf-blender-cvs] [e74a24f0bbf] master: Fix T77382: zooming into adjust last operation panel clips contents

Brecht Van Lommel noreply at git.blender.org
Thu Aug 27 19:53:01 CEST 2020


Commit: e74a24f0bbf386b680c510a720fbc1da8292fc4c
Author: Brecht Van Lommel
Date:   Thu Aug 27 19:49:48 2020 +0200
Branches: master
https://developer.blender.org/rBe74a24f0bbf386b680c510a720fbc1da8292fc4c

Fix T77382: zooming into adjust last operation panel clips contents

This panel should not have zoom functionality at all, just like headers and
many other regions don't have it either.

===================================================================

M	source/blender/editors/interface/interface_region_hud.c

===================================================================

diff --git a/source/blender/editors/interface/interface_region_hud.c b/source/blender/editors/interface/interface_region_hud.c
index d34bcb0e1e9..cecfe6941fc 100644
--- a/source/blender/editors/interface/interface_region_hud.c
+++ b/source/blender/editors/interface/interface_region_hud.c
@@ -201,7 +201,7 @@ static void hud_region_layout(const bContext *C, ARegion *region)
     region->winrct.xmax = (region->winrct.xmin + region->winx) - 1;
     region->winrct.ymax = (region->winrct.ymin + region->winy) - 1;
 
-    UI_view2d_region_reinit(v2d, V2D_COMMONVIEW_PANELS_UI, region->winx, region->winy);
+    UI_view2d_region_reinit(v2d, V2D_COMMONVIEW_LIST, region->winx, region->winy);
 
     /* Weak, but needed to avoid glitches, especially with hi-dpi
      * (where resizing the view glitches often).



More information about the Bf-blender-cvs mailing list