forked from bartvdbraak/blender
Bugfix #7552
Panels with different width or height, should give a re-align call when tabbed and tabs switch
This commit is contained in:
parent
ca9db6ef25
commit
6dbe745396
@ -1805,6 +1805,13 @@ static void panel_clicked_tabs(uiBlock *block, int mousex)
|
||||
}
|
||||
|
||||
addqueue(curarea->win, REDRAW, 1);
|
||||
|
||||
/* panels now differ size.. */
|
||||
if(curarea->spacetype==SPACE_BUTS) {
|
||||
SpaceButs *sbuts= curarea->spacedata.first;
|
||||
if(sbuts->align)
|
||||
uiAlignPanelStep(curarea, 1.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user