mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Key settings: Clear with escape (#8282)
Key ESCAPE -> Cancel change Key DELETE -> Remove entry
This commit is contained in:
@@ -70,9 +70,8 @@ private:
|
||||
void add_key(int id, const wchar_t *button_name, const std::string &setting_name);
|
||||
|
||||
bool shift_down = false;
|
||||
s32 activeKey = -1;
|
||||
|
||||
std::vector<KeyPress> key_used;
|
||||
key_setting *active_key = nullptr;
|
||||
gui::IGUIStaticText *key_used_text = nullptr;
|
||||
std::vector<key_setting *> key_settings;
|
||||
};
|
||||
|
Reference in New Issue
Block a user