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.
This commit is contained in:
Brecht Van Lommel 2020-08-27 19:49:48 +02:00
parent 9d6789115a
commit e74a24f0bb
Notes: blender-bot 2023-02-14 09:02:40 +01:00
Referenced by issue #80168, Crash if shader compilation fails
Referenced by issue #77382, Scaling the "redo-last" panel will not adjust its boundaries,
1 changed files with 1 additions and 1 deletions

View File

@ -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).