File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class WndprocHook : public Hook
122122 }
123123 else
124124 {
125- if (!Settings::OverlayEnabled && Settings::WindowedHideMouseCursor)
125+ if (Settings::WindowedHideMouseCursor)
126126 {
127127 if (msg == WM_SETFOCUS || (msg == WM_ACTIVATE && lParam != WA_INACTIVE))
128128 {
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ class ServerUpdater
6666 catch (const std::exception& e)
6767 {
6868 }
69+
70+ if (Settings::OverlayNotifyOnlineUpdateTime < 10 )
71+ Settings::OverlayNotifyOnlineUpdateTime = 10 ; // pls don't hammer us
72+
6973 std::this_thread::sleep_for (std::chrono::seconds (Settings::OverlayNotifyOnlineUpdateTime));
7074 }
7175 }
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ namespace Settings
122122 inline float OverlayFontScale = 1 .5f ;
123123 inline int OverlayNotifyDisplayTime = 7 ;
124124 inline bool OverlayNotifyOnlineEnable = true ;
125- inline int OverlayNotifyOnlineUpdateTime = 10 ;
125+ inline int OverlayNotifyOnlineUpdateTime = 20 ;
126126 inline int OverlayNotifyHideMode = 1 ;
127127
128128 enum NotifyHideMode
You can’t perform that action at this time.
0 commit comments