mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
Added support for Home, End, PageUp and PageDown in hex view
Resolves #148
This commit is contained in:
@@ -95,6 +95,11 @@ namespace hex {
|
||||
EventManager::unsubscribe(eventType, this);
|
||||
}
|
||||
|
||||
void View::discardNavigationRequests() {
|
||||
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows))
|
||||
ImGui::GetIO().ConfigFlags &= ~ImGuiConfigFlags_NavEnableKeyboard;
|
||||
}
|
||||
|
||||
void View::doLater(std::function<void()> &&function) {
|
||||
SharedData::deferredCalls.push_back(function);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user