Fix StackScreen's draw
All checks were successful
Build and Publish WASM version of demo / Build-And-Deploy (push) Successful in 17s

This commit is contained in:
Stephen Seo 2023-08-23 15:16:41 +09:00
parent f091bbf0fd
commit 17aa7f6860

View file

@ -62,7 +62,8 @@ void ScreenStack::update(float dt) {
} }
void ScreenStack::draw() { void ScreenStack::draw() {
for (auto idx = 0; idx < size.size() && stack.at(idx)->draw(); ++idx) { for (decltype(stack.size()) idx = 0;
idx < stack.size() && stack.at(idx)->draw(); ++idx) {
} }
} }