handle window focus (dont run fade and read while not focused)

This commit is contained in:
Green Sky
2025-01-19 19:33:01 +01:00
parent bd6368a8f9
commit d416d3d595
6 changed files with 38 additions and 26 deletions

View File

@@ -72,7 +72,7 @@ class ChatGui4 : public ObjectStoreEventI {
~ChatGui4(void);
public:
float render(float time_delta, bool window_hidden);
float render(float time_delta, bool window_hidden, bool window_focused);
public:
void sendFilePath(std::string_view file_path);