mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Clip the Meter Widgets to the visible portion of the Video Window (#3462)
When the video widget is scrolled, the MeterWidget windows appeared on top of the Main Window user interface. Now the visible portion of the Video Window is tracked and used as a clipping region. This avoids blocking the controls on bottom toolbar.
This commit is contained in:
@@ -50,6 +50,7 @@ void VideoLayoutParser::SetDefaultValues()
|
||||
meterWidget->m_BackgroundColor = QColor(100,100,100,0);
|
||||
meterWidget->m_MainFont = QFont(meterWidget->font().family(), 64);
|
||||
meterWidget->m_AltFont = QFont(meterWidget->font().family(), 48);
|
||||
meterWidget->m_VideoContainer = VideoContainer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user