mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add in-game chat & update gui post-runnables timing & fix panel elements removal
This commit is contained in:
parent
731c72da7c
commit
c6951e0965
11 changed files with 100 additions and 7 deletions
|
|
@ -62,6 +62,11 @@ void Panel::add(const std::shared_ptr<UINode> &node) {
|
|||
fullRefresh();
|
||||
}
|
||||
|
||||
void Panel::remove(const std::shared_ptr<UINode> &node) {
|
||||
Container::remove(node);
|
||||
fullRefresh();
|
||||
}
|
||||
|
||||
void Panel::refresh() {
|
||||
UINode::refresh();
|
||||
std::stable_sort(nodes.begin(), nodes.end(), [](auto a, auto b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue