|
21 | 21 | - MSRV is now`1.82`. We will bump the MSRV to`1.85` in the future.
|
22 | 22 | - Keys now communicate with`imgui` in a far simpler manner -- rather than going through
|
23 | 23 | a complex keymap, they instead simply notate if they are or are not down to`imgui` directly.
|
24 |
| - Multiple functions, such as`Ui::key_index`,`Ui::is_key_index_down`,`Ui::is_key_index_pressed`,`Ui::is_key_index_pressed_no_repeat`, and`Ui::key_index_pressed_amount` were removed. Use the corresponding non-`index` version. |
| 24 | + Multiple functions, such as`Ui::key_index`,`Ui::is_key_index_down`,`Ui::is_key_index_pressed`, |
| 25 | +`Ui::is_key_index_pressed_no_repeat`, and`Ui::key_index_pressed_amount` were removed. Use the corresponding non-`index` version. |
| 26 | +- Added`Key::ModCtrl`,`Key::ModShift`,`Key::ModAlt`, and`Key::ModSuper`. This is now the correct way |
| 27 | + to interface with modifiers (though you can also check particular modifiers, like`Key::LeftCtrl`). |
| 28 | + This may require updating your backend! |
25 | 29 | - The default`oversample_h` on the`FontConfig` has changed to 2 instead of 3.
|
26 | 30 | -`SelectableFlags::DONT_CLOSE_POPUPS` has been renamed to`SelectableFlags::NO_AUTO_CLOSE_POPUPS`
|
27 | 31 | -`SelectableFlags::ALLOW_ITEM_OVERLAP` has been renamed to`SelectableFlags::ALLOW_OVERLAP`.
|
|