Fix clang-tidy. (#469)

This commit is contained in:
Arthur Sonzogni
2022-08-28 21:30:01 +02:00
committed by GitHub
parent 1e381fcad6
commit 8226c5aea7
7 changed files with 19 additions and 18 deletions

View File

@@ -164,7 +164,11 @@ ButtonOption ButtonOption::Animated(Color color) {
/// @brief Create a ButtonOption, using animated colors.
// static
ButtonOption ButtonOption::Animated(Color background, Color foreground) {
return ButtonOption::Animated(background, foreground, foreground, background);
return ButtonOption::Animated(
/*bakground=*/background,
/*foreground=*/foreground,
/*background_active=*/foreground,
/*foreground_active=*/background);
}
/// @brief Create a ButtonOption, using animated colors.