Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Fixed IsWindowFocused to call actual function
Browse files Browse the repository at this point in the history
  • Loading branch information
dertseha authored Feb 10, 2020
1 parent 409c5b2 commit 5a27a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imguiWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ IggBool iggIsWindowCollapsed() {

IggBool iggIsWindowFocused(int flags)
{
return ImGui::IsWindowHovered(flags) ? 1 : 0;
return ImGui::IsWindowFocused(flags) ? 1 : 0;
}

IggBool iggIsWindowHovered(int flags)
Expand Down

0 comments on commit 5a27a88

Please sign in to comment.