Fix several little issues with cursors

- Sometimes they didn't reappear when the program was reactivated
- Watch is now used in more places
This commit is contained in:
2015-09-24 19:12:12 -04:00
parent bc7298417f
commit 66f84ef396
6 changed files with 16 additions and 5 deletions

View File

@@ -1198,6 +1198,7 @@ void cDialog::run(std::function<void(cDialog&)> onopen){
break;
default: // To silence warning of unhandled enum values
break;
case sf::Event::GainedFocus:
case sf::Event::MouseMoved:
bool inField = false;
for(auto& ctrl : controls) {