rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
703 stars 94 forks source link

MonoGame(since 3.8.1) - Check if game window is active while triggering mouse click events #449

Closed PerhapsQ closed 5 months ago

PerhapsQ commented 5 months ago

After upgrade to MonoGame 3.8.1 I noticed that mouse events work while window is inactive. Apparently that is intended behavior and we have to additionally check Game.IsActive.

rds1983 commented 5 months ago

thanks, @PerhapsQ!