mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-05-20 12:39:29 -05:00
fix: Keyboard shortcuts didn't work. Added Select all menu item
This commit is contained in:
+1
-1
@@ -380,9 +380,9 @@ namespace hex {
|
||||
void Window::frame() {
|
||||
bool pressedKeys[512] = { false };
|
||||
|
||||
std::copy_n(ImGui::GetIO().KeysDown, 512, this->m_prevKeysDown);
|
||||
for (u16 i = 0; i < 512; i++)
|
||||
pressedKeys[i] = ImGui::GetIO().KeysDown[i] && !this->m_prevKeysDown[i];
|
||||
std::copy_n(ImGui::GetIO().KeysDown, 512, this->m_prevKeysDown);
|
||||
|
||||
for (const auto &call : View::getDeferedCalls())
|
||||
call();
|
||||
|
||||
Reference in New Issue
Block a user