Style changes

This commit is contained in:
2026-07-20 20:05:29 +03:00
parent b3561e773d
commit 93bf97a15e
3 changed files with 34 additions and 45 deletions

View File

@@ -36,7 +36,7 @@ void GuiElementContainer::removeChild( GuiElement* element ) {
}
bool GuiElementContainer::containsPointInChildren(int x, int y) const {
for (std::vector<GuiElement*>::const_iterator it = children.begin(); it != children.end(); ++it) {
for (auto it = children.begin(); it != children.end(); ++it) {
GuiElement* child = *it;
if (child == NULL || !child->visible) continue;
if (child->pointInside(x, y)) return true;