Cleanup: SPACE_ACTION does not have a RGB_TYPE_TOOL_HEADER

So no need to check this specific case.
This commit is contained in:
Jeroen Bakker 2020-06-19 08:13:06 +02:00
parent d093f61667
commit 5a77f643f4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}