Cleanup: SPACE_ACTION does not have a RGB_TYPE_TOOL_HEADER
So no need to check this specific case.
This commit is contained in:
parent
d093f61667
commit
5a77f643f4
|
@ -4356,7 +4356,7 @@ static bool match_region_with_redraws(eSpace_Type spacetype,
|
|||
return true;
|
||||
}
|
||||
}
|
||||
else if (ELEM(regiontype, RGN_TYPE_HEADER, RGN_TYPE_TOOL_HEADER)) {
|
||||
else if (regiontype == RGN_TYPE_HEADER) {
|
||||
if (spacetype == SPACE_ACTION) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue