mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Draw on a correct window.
This commit is contained in:
parent
3a561b4eed
commit
9bbaab8897
@ -1858,6 +1858,7 @@ void View::DrawZones()
|
|||||||
|
|
||||||
ImGui::InvisibleButton( "##zones", ImVec2( w, h ) );
|
ImGui::InvisibleButton( "##zones", ImVec2( w, h ) );
|
||||||
bool hover = ImGui::IsItemHovered();
|
bool hover = ImGui::IsItemHovered();
|
||||||
|
draw = ImGui::GetWindowDrawList();
|
||||||
|
|
||||||
if( hover )
|
if( hover )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user