mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
Fixed waterfall bug
This commit is contained in:
parent
b0409ad033
commit
f760aba7dd
@ -359,7 +359,7 @@ namespace ImGui {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Finally, if nothing else was selected, just move the VFO
|
// Finally, if nothing else was selected, just move the VFO
|
||||||
if (ImGui::IsMouseDown(ImGuiMouseButton_Left)) {
|
if (ImGui::IsMouseDown(ImGuiMouseButton_Left) && (mouseInFFT|mouseInWaterfall)) {
|
||||||
if (selVfo != NULL) {
|
if (selVfo != NULL) {
|
||||||
int refCenter = mousePos.x - (widgetPos.x + 50);
|
int refCenter = mousePos.x - (widgetPos.x + 50);
|
||||||
if (refCenter >= 0 && refCenter < dataWidth) {
|
if (refCenter >= 0 && refCenter < dataWidth) {
|
||||||
|
Loading…
Reference in New Issue
Block a user