fix: tooltip visibility when cursor is hidden

This commit is contained in:
MihailRis
2024-05-25 06:24:54 +03:00
parent e3989cb178
commit cc27e4b224
4 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Container::Container(glm::vec2 size) : UINode(size) {
}
std::shared_ptr<UINode> Container::getAt(glm::vec2 pos, std::shared_ptr<UINode> self) {
if (!interactive || !isEnabled()) {
if (!isInteractive() || !isEnabled()) {
return nullptr;
}
if (!isInside(pos)) return nullptr;