mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
settings menu update + UINode 'enabled' property
This commit is contained in:
parent
9b843817f8
commit
2380375f3c
15 changed files with 130 additions and 84 deletions
|
|
@ -11,7 +11,7 @@ Container::Container(glm::vec2 size) : UINode(size) {
|
|||
}
|
||||
|
||||
std::shared_ptr<UINode> Container::getAt(glm::vec2 pos, std::shared_ptr<UINode> self) {
|
||||
if (!interactive) {
|
||||
if (!interactive || !enabled) {
|
||||
return nullptr;
|
||||
}
|
||||
if (!isInside(pos)) return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue