Show cursor whenever a dialog displays onscreen
This commit is contained in:
@@ -875,6 +875,8 @@ bool cDialog::remove(std::string key){
|
|||||||
|
|
||||||
extern char keyToChar(sf::Keyboard::Key key, bool isShift);
|
extern char keyToChar(sf::Keyboard::Key key, bool isShift);
|
||||||
void cDialog::run(){
|
void cDialog::run(){
|
||||||
|
// We always need the cursor when we're in a dialog
|
||||||
|
mainPtr.setMouseCursorVisible(true);
|
||||||
using kb = sf::Keyboard;
|
using kb = sf::Keyboard;
|
||||||
kb::Key k;
|
kb::Key k;
|
||||||
cKey key;
|
cKey key;
|
||||||
|
Reference in New Issue
Block a user