Made camera only move when application has focus

This commit is contained in:
Vulpovile
2022-10-03 19:43:35 -07:00
parent f46e24d8f1
commit 33a898e359
3 changed files with 8 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ class Application { // : public GApp {
Tool * tool;
void changeTool(Tool *);
Mouse mouse;
bool viewportHasFocus();
private:
bool mouseMoveState;
RenderDevice* renderDevice;