summaryrefslogtreecommitdiff
path: root/ui/window.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-14 01:46:50 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-16 15:43:10 +0000
commit574d767d54edbca6d4a01e6ab876a26f7478ff5f (patch)
tree0ec5021f1fe59a3169bf8dc69a35278154456689 /ui/window.cpp
parentProgressive constructors for RayTracer (diff)
downloadilt-574d767d54edbca6d4a01e6ab876a26f7478ff5f.tar.bz2
ilt-574d767d54edbca6d4a01e6ab876a26f7478ff5f.tar.xz
ilt-574d767d54edbca6d4a01e6ab876a26f7478ff5f.zip
Process UI layers in reverse, so it's stack like
Diffstat (limited to 'ui/window.cpp')
-rw-r--r--ui/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/window.cpp b/ui/window.cpp
index 74a3a2f..9ecc88c 100644
--- a/ui/window.cpp
+++ b/ui/window.cpp
@@ -63,7 +63,7 @@ Window::handleInput(const SDL_Event & e)
eAdjusted.button.y = size.y - e.button.y;
break;
}
- uiComponents.applyOne(&UIComponent::handleInput, eAdjusted, UIComponent::Position {{}, size});
+ uiComponents.rapplyOne(&UIComponent::handleInput, eAdjusted, UIComponent::Position {{}, size});
return true;
}
return false;