mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-30 05:12:26 -04:00
Auto-align drawing of horizontal grids.
This commit is contained in:
parent
98a67820c8
commit
5a0138fa02
@ -415,7 +415,11 @@ void CPlotter::DrawOverlay() //DrawOverlay()
|
||||
if(m_bTotalPower) painter.setPen(QPen(Qt::white, 1,Qt::DashLine));
|
||||
for( int i=1; i<VERT_DIVS; i++) { //draw horizontal grids
|
||||
y = int(i*m_vpixperdiv);
|
||||
if(m_bTotalPower) {
|
||||
painter.drawLine(15, y, w, y);
|
||||
} else {
|
||||
painter.drawLine(0, y, w, y);
|
||||
}
|
||||
}
|
||||
|
||||
if(m_bTotalPower) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user