punker76 / MahApps.Metro.SimpleChildWindow

A simple child window for MahApps.Metro
MIT License
374 stars 55 forks source link

When closing a childwindow, the main window will not recieve hover info until clicked #9

Closed pingu2k4 closed 9 years ago

pingu2k4 commented 9 years ago

hi,

Just something I noticed whilst using this. I have the main window open or close a child window when I press F10. If I open the child window, then close it again using F10, wherever the cursor is when I close the window will give all elements in the main window (buttons etc) the current cursor location in terms of hovering but will not update until the user click within the main window.

Example: I press F10 top open child window. I position my curose above a button elemnt in the main window. I press F10 which closes the child window, and the button I am hovering has its hover effect. Then I move mouse about, but the button hover effect doesn't leave, and no other elements have their hover effects happen, until I click somewhere within the main window.