Fix ifs clang-format didn’t get

This commit is contained in:
numzero
2023-10-04 21:10:58 +03:00
committed by Desour
parent 565c114f94
commit d5690cc43b
25 changed files with 69 additions and 138 deletions

View File

@ -381,8 +381,7 @@ void CGUIEnvironment::OnPostRender(u32 time)
ToolTip.Element->setRelativePosition(pos);
}
if (ToolTip.Element && ToolTip.Element->isVisible()) // (isVisible() check only because we might use visibility for ToolTip one day)
{
if (ToolTip.Element && ToolTip.Element->isVisible()) { // (isVisible() check only because we might use visibility for ToolTip one day)
ToolTip.LastTime = time;
// got invisible or removed in the meantime?