add 'onrightclick' uinode event

This commit is contained in:
MihailRis 2025-11-14 00:33:57 +03:00
parent 645f150ff2
commit 1fd81da82e
4 changed files with 20 additions and 1 deletions

View file

@ -177,6 +177,7 @@ void Container::add(const std::shared_ptr<UINode>& node) {
parent->setMustRefresh();
parent = parent->getParent();
}
gui.getWindow().setShouldRefresh();
}
void Container::add(const std::shared_ptr<UINode>& node, glm::vec2 pos) {