mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
feat: Added basic introduction tutorial
This commit is contained in:
@@ -59,6 +59,13 @@ namespace hex {
|
||||
this->m_windowJustOpened = state;
|
||||
}
|
||||
|
||||
void View::trackViewOpenState() {
|
||||
if (this->m_windowOpen && !this->m_prevWindowOpen)
|
||||
this->setWindowJustOpened(true);
|
||||
this->m_prevWindowOpen = this->m_windowOpen;
|
||||
}
|
||||
|
||||
|
||||
void View::discardNavigationRequests() {
|
||||
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows))
|
||||
ImGui::GetIO().ConfigFlags &= ~ImGuiConfigFlags_NavEnableKeyboard;
|
||||
|
||||
Reference in New Issue
Block a user