We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcaad8e commit e905255Copy full SHA for e905255
source/UI/Editor.cpp
@@ -128,6 +128,9 @@ namespace UI
128
129
void Editor::on_mouse_move_event(const glm::vec2 p_mouse_delta)
130
{
131
+ if (m_input.cursor_over_UI())
132
+ return;
133
+
134
if (m_state == State::Editing)
135
136
if (m_input.is_mouse_down(Platform::MouseButton::Right))
@@ -147,6 +150,9 @@ namespace UI
147
150
}
148
151
void Editor::on_mouse_scroll_event(const glm::vec2 p_mouse_scroll)
149
152
153
154
155
156
157
158
m_camera.zoom(p_mouse_scroll.y);
0 commit comments