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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user