Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Sep 13, 2024
1 parent 59b7715 commit d177969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ALabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ALabel::ALabel(const Json::Value& config, const std::string& name, const std::st

if (config_["rotate"].isUInt()) {
rotate = config["rotate"].asUInt();
if (not (rotate == 0 || rotate == 90 || rotate == 180 || rotate == 270))
if (not(rotate == 0 || rotate == 90 || rotate == 180 || rotate == 270))
spdlog::warn("'rotate' is only supported in 90 degree increments {} is not valid.", rotate);
label_.set_angle(rotate);
}
Expand Down

0 comments on commit d177969

Please sign in to comment.