UI: show HUD when region overlap is disabled
This commit is contained in:
parent
0ab8f9c74a
commit
813a538a57
|
@ -1014,10 +1014,10 @@ static void region_overlap_fix(ScrArea *sa, ARegion *ar)
|
|||
/* overlapping regions only in the following restricted cases */
|
||||
bool ED_region_is_overlap(int spacetype, int regiontype)
|
||||
{
|
||||
if (regiontype == RGN_TYPE_HUD) {
|
||||
return 1;
|
||||
}
|
||||
if (U.uiflag2 & USER_REGION_OVERLAP) {
|
||||
if (regiontype == RGN_TYPE_HUD) {
|
||||
return 1;
|
||||
}
|
||||
if (ELEM(spacetype, SPACE_VIEW3D, SPACE_SEQ, SPACE_IMAGE)) {
|
||||
if (ELEM(regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_TOOL_PROPS))
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue