mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: tooltip visibility when cursor is hidden
This commit is contained in:
parent
e3989cb178
commit
cc27e4b224
4 changed files with 23 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue