forked from bartvdbraak/blender
Fix jumping panels when opening a new properties area or area containing
a region with panels (e.g. file browser).
This commit is contained in:
parent
36f57beca2
commit
3b83ff755d
@ -275,7 +275,9 @@ void UI_view2d_region_reinit(View2D *v2d, short type, int winx, int winy)
|
||||
v2d->keeptot= V2D_KEEPTOT_BOUNDS;
|
||||
|
||||
v2d->scroll |= (V2D_SCROLL_RIGHT|V2D_SCROLL_BOTTOM);
|
||||
|
||||
v2d->scroll |= V2D_SCROLL_HORIZONTAL_HIDE;
|
||||
v2d->scroll &= ~V2D_SCROLL_VERTICAL_HIDE;
|
||||
|
||||
v2d->tot.xmin= 0.0f;
|
||||
v2d->tot.xmax= winx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user