Skip to content

Commit

Permalink
Fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared234 authored and Technius committed Nov 1, 2022
1 parent 37ff24f commit acf46ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gui/inputdevices/MouseInputHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ auto MouseInputHandler::changeTool(InputEvent const& event) -> bool {

if (toolChanged) {
ToolType toolType = toolHandler->getToolType();
if(toolType == TOOL_TEXT)
if (toolType == TOOL_TEXT)
toolHandler->selectTool(toolType);
toolHandler->fireToolChanged();
}

return true;
}

Expand Down
4 changes: 2 additions & 2 deletions src/gui/inputdevices/StylusInputHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ auto StylusInputHandler::changeTool(InputEvent const& event) -> bool {

if (toolChanged) {
ToolType toolType = toolHandler->getToolType();
if(toolType == TOOL_TEXT)
if (toolType == TOOL_TEXT)
toolHandler->selectTool(toolType);
toolHandler->fireToolChanged();
}

return true;
}

0 comments on commit acf46ad

Please sign in to comment.