mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
fix: world reload fatal error fix
This commit is contained in:
parent
913e5983b1
commit
0eab8ad8f2
2 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,10 @@ Container::Container(glm::vec2 size) : UINode(size) {
|
|||
setColor(glm::vec4());
|
||||
}
|
||||
|
||||
Container::~Container() {
|
||||
Container::clear();
|
||||
}
|
||||
|
||||
std::shared_ptr<UINode> Container::getAt(glm::vec2 pos, std::shared_ptr<UINode> self) {
|
||||
if (!isInteractive() || !isEnabled()) {
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue