summaryrefslogtreecommitdiff
path: root/ui/uiComponent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/uiComponent.cpp')
-rw-r--r--ui/uiComponent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/uiComponent.cpp b/ui/uiComponent.cpp
index e480fbc..aa4838d 100644
--- a/ui/uiComponent.cpp
+++ b/ui/uiComponent.cpp
@@ -20,6 +20,7 @@ UIComponent::Position::operator&(const glm::vec2 & pos) const
{
return (pos.x >= origin.x && pos.y >= origin.y && pos.x < origin.x + size.x && pos.y < origin.y + size.y);
}
+
bool
UIComponent::Position::operator&(const SDL_MouseButtonEvent & pos) const
{