bloodwolf Posted February 19, 2021 Share Posted February 19, 2021 On borderless window when we leave and focus an element outside the game window and put back the mouse cursor hover the game window the mouse cursor is invisible :S Do you guys know how to fix that? Link to comment Share on other sites More sharing options...
0 bloodwolf Posted February 19, 2021 Author Share Posted February 19, 2021 Well I found my answer... If anyone had the same problem...  override OnDeactivated in IntersectGame  protected override void OnDeactivated(object sender, EventArgs args) {      //Make sure that the default cursor is visible when hovering back on the game window      IsMouseVisible = true;      base.OnDeactivated(sender, args); }  And make sure to override OnActivated to set your IsMouseVisible to false to mask the default window cursor again  Link to comment Share on other sites More sharing options...
0 Cheshire Posted February 19, 2021 Share Posted February 19, 2021 6 hours ago, bloodwolf said: On borderless window  Uh, I don't think that mode even exists by default does it? Just fullscreen and windowed.  I take it you changed that yourself as I don't think we support that by default. Link to comment Share on other sites More sharing options...
0 bloodwolf Posted February 20, 2021 Author Share Posted February 20, 2021 I made a slight mistake the game was in Window mode :S Link to comment Share on other sites More sharing options...
Question
bloodwolf
On borderless window when we leave and focus an element outside the game window and put back the mouse cursor hover the game window the mouse cursor is invisible :S
Do you guys know how to fix that?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now