mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Check if window is not under another window.
This commit is contained in:
parent
c402bd43b3
commit
de9fbf4c2c
@ -453,7 +453,7 @@ void View::DrawFrames()
|
||||
auto draw = ImGui::GetWindowDrawList();
|
||||
|
||||
draw->AddRectFilled( wpos, wpos + ImVec2( w, Height ), 0x33FFFFFF );
|
||||
bool hover = ImGui::IsMouseHoveringRect( wpos, wpos + ImVec2( w, 60 ) );
|
||||
bool hover = ImGui::IsWindowHovered() && ImGui::IsMouseHoveringRect( wpos, wpos + ImVec2( w, 60 ) );
|
||||
const auto wheel = io.MouseWheel;
|
||||
const auto prevScale = m_frameScale;
|
||||
if( hover )
|
||||
|
Loading…
Reference in New Issue
Block a user