Cleanup: Use ELEM macro

This commit is contained in:
Antonio Vazquez 2022-03-08 16:44:03 +01:00
parent 62885637fb
commit 944122d49f
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
uiItemS(layout);
if (mode == GP_BUILD_MODE_SEQUENTIAL || mode == GP_BUILD_MODE_CONCURRENT) {
if (ELEM(mode, GP_BUILD_MODE_SEQUENTIAL, GP_BUILD_MODE_CONCURRENT)) {
uiItemR(layout, ptr, "transition", 0, NULL, ICON_NONE);
}
row = uiLayoutRow(layout, true);