mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
Don't erase the red sync curve too soon.
This commit is contained in:
parent
e7c8eba2a5
commit
5315bbd88a
@ -140,7 +140,10 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
|
|||||||
//move current data down one line (must do this before attaching a QPainter object)
|
//move current data down one line (must do this before attaching a QPainter object)
|
||||||
if(bScroll and !m_bReplot) m_WaterfallPixmap.scroll(0,1,0,0,m_w,m_h1);
|
if(bScroll and !m_bReplot) m_WaterfallPixmap.scroll(0,1,0,0,m_w,m_h1);
|
||||||
QPainter painter1(&m_WaterfallPixmap);
|
QPainter painter1(&m_WaterfallPixmap);
|
||||||
m_2DPixmap = m_OverlayPixmap.copy(0,0,m_w,m_h2);
|
if(m_bFirst or bRed or !m_bQ65_Sync) {
|
||||||
|
m_2DPixmap = m_OverlayPixmap.copy(0,0,m_w,m_h2);
|
||||||
|
m_bFirst=false;
|
||||||
|
}
|
||||||
QPainter painter2D(&m_2DPixmap);
|
QPainter painter2D(&m_2DPixmap);
|
||||||
if(!painter2D.isActive()) return;
|
if(!painter2D.isActive()) return;
|
||||||
QFont Font("Arial");
|
QFont Font("Arial");
|
||||||
|
@ -118,6 +118,7 @@ private:
|
|||||||
bool m_bQ65_Sync;
|
bool m_bQ65_Sync;
|
||||||
bool m_bVHF;
|
bool m_bVHF;
|
||||||
bool m_bSingleDecode;
|
bool m_bSingleDecode;
|
||||||
|
bool m_bFirst=true;
|
||||||
|
|
||||||
float m_fSpan;
|
float m_fSpan;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user