added camera controls to editor
This commit is contained in:
@@ -16,6 +16,14 @@ void TSE::EDITOR::SceneView::Define()
|
||||
{
|
||||
fb->SetSize({vec2.x, vec2.y});
|
||||
}
|
||||
if(ImGui::IsWindowFocused())
|
||||
{
|
||||
IsHovered = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
IsHovered = false;
|
||||
}
|
||||
}
|
||||
ImGui::EndChild();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user