mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 23:40:02 +01:00
BugFix double clic output window
This commit is contained in:
@@ -3856,7 +3856,7 @@ void OutputPreview::Render()
|
||||
// preview image
|
||||
ImGui::Image((void*)(intptr_t)output->texture(), imagesize);
|
||||
// raise window on double clic
|
||||
if (ImGui::IsMouseDoubleClicked(0) )
|
||||
if (ImGui::IsItemHovered() && ImGui::IsMouseDoubleClicked(ImGuiMouseButton_Left) )
|
||||
Rendering::manager().outputWindow().show();
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user