Skip to content

Commit

Permalink
Merge branch 'sdr_clipboard' of https://github.com/SpecialKO/SKIV int…
Browse files Browse the repository at this point in the history
…o sdr_clipboard
  • Loading branch information
Kaldaien committed Jul 20, 2024
2 parents f391068 + 8734076 commit 2d86539
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/SKIV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1945,14 +1945,11 @@ wWinMain ( _In_ HINSTANCE hInstance,
(HDR_Image && SKIV_HDR) ? hdr_uv0 : srgb_uv0,
(HDR_Image && SKIV_HDR) ? hdr_uv1 : srgb_uv1);

// This visual feedback is unnecessary given snipping now defaults to drawing a rectangle around
// the nearest window to the cursor when initiated...
//
//ImDrawList* draw_list =
// ImGui::GetForegroundDrawList ();

//// Draw a slightly dark transparent overlay on top of the captured image
//draw_list->AddRectFilled (ImVec2 (0, 0), SKIV_DesktopImage._resolution, ImGui::GetColorU32 (IM_COL32(20, 20, 20, 80)));
ImDrawList* draw_list =
ImGui::GetForegroundDrawList ();

// Draw a slightly dark transparent overlay on top of the captured image
draw_list->AddRectFilled (ImVec2 (0, 0), SKIV_DesktopImage._resolution, ImGui::GetColorU32 (IM_COL32 (0, 0, 0, 20)));
}

static ImRect selection;
Expand Down

0 comments on commit 2d86539

Please sign in to comment.