mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-05-14 05:12:09 -04:00
Position overlay so it's where the frequencyValue widget was.
This commit is contained in:
parent
19cc426948
commit
dc960c2dfd
@ -593,9 +593,9 @@ void FreqDisplayGUI::applyTransparency()
|
||||
this, &FreqDisplayGUI::onExitTransparentMode);
|
||||
connect(m_overlay, &FreqDisplayOverlay::resized,
|
||||
this, &FreqDisplayGUI::updateFrequencyFont);
|
||||
// Position the overlay at the current screen position of FreqDisplayGUI.
|
||||
m_overlay->move(mapToGlobal(QPoint(0, 0)));
|
||||
m_overlay->resize(size());
|
||||
// Position the overlay at the current screen position of frequencyValue widget.
|
||||
m_overlay->move(ui->frequencyValue->mapToGlobal(QPoint(0, 0)));
|
||||
m_overlay->resize(ui->frequencyValue->size());
|
||||
applyTextColor();
|
||||
m_overlay->show();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user