Fixed world name label behaviour

This commit is contained in:
MihailRis
2024-01-18 20:11:47 +03:00
parent b12d242335
commit 9c110b83d3
4 changed files with 23 additions and 2 deletions
+3
View File
@@ -18,6 +18,9 @@ Container::Container(vec2 coord, vec2 size) : UINode(coord, size) {
}
shared_ptr<UINode> Container::getAt(vec2 pos, shared_ptr<UINode> self) {
if (!interactive) {
return nullptr;
}
if (!isInside(pos)) return nullptr;
for (auto node : nodes) {
if (!node->visible())