This commit is contained in:
MihailRis 2025-11-14 20:56:11 +03:00
parent 95721a6864
commit 5f76e72748
18 changed files with 44 additions and 44 deletions

View file

@ -210,11 +210,11 @@ void Container::clear() {
refresh();
}
void Container::listenInterval(float interval, ontimeout callback, int repeat) {
void Container::listenInterval(float interval, OnTimeOut callback, int repeat) {
intervalEvents.push_back({std::move(callback), interval, 0.0f, repeat});
}
void Container::setSize(glm::vec2 size) {
void Container::setSize(const glm::vec2& size) {
if (size == getSize()) {
return;
}