Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmanLP committed Jan 9, 2025
1 parent e50f36c commit 643a05b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm/2s2h/BenGui/BenInputEditorWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1455,9 +1455,9 @@ void BenInputEditorWindow::DrawDeviceVisibilityButtons() {
ImGui::PushStyleColor(ImGuiCol_Button, mouseButtonColor);
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, mouseButtonHoveredColor);
bool mouseVisible = mDeviceIndexVisiblity[Ship::ShipDeviceIndex::Mouse];
if (ImGui::Button(StringHelper::Sprintf("%s %s Mouse", mouseVisible ? ICON_FA_EYE : ICON_FA_EYE_SLASH,
ICON_FA_KEYBOARD_O)
.c_str())) {
if (ImGui::Button(
StringHelper::Sprintf("%s %s Mouse", mouseVisible ? ICON_FA_EYE : ICON_FA_EYE_SLASH, ICON_FA_KEYBOARD_O)
.c_str())) {
mDeviceIndexVisiblity[Ship::ShipDeviceIndex::Mouse] = !mouseVisible;
}
ImGui::PopStyleColor();
Expand Down

0 comments on commit 643a05b

Please sign in to comment.