Cleanup: Use ELEM macro
This commit is contained in:
parent
62885637fb
commit
944122d49f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue