Draw on a correct window.

This commit is contained in:
Bartosz Taudul 2019-06-02 13:40:35 +02:00
parent 3a561b4eed
commit 9bbaab8897

View File

@ -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 )
{ {