SDRPlusPlus icon indicating copy to clipboard operation
SDRPlusPlus copied to clipboard

cleanup: remove redundant search for hovered VFO

Open ericek111 opened this issue 2 years ago • 0 comments

The ImGui::IsMouseHoveringRect check is done every frame for drawing the tooltip when hovering above a VFO. It's already done a few lines earlier at the beginning of processInputs, so there's no need to do it again.

I'm also debugging the ImGui::GetIO().KeyCtrl thing. It seems to be false when I start SDR++, then stays false as I hold Ctrl and becomes true upon releasing it (reversing the entire logic).

ericek111 avatar Apr 16 '22 18:04 ericek111