mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Reserve size of congestion vector
This reserves the size of the congestion vector in the status bar, so it isn't resized every second.
This commit is contained in:
@@ -42,6 +42,8 @@ OBSBasicStatusBar::OBSBasicStatusBar(QWidget *parent)
|
||||
streamingActivePixmap(QIcon(":/res/images/streaming-active.svg")
|
||||
.pixmap(QSize(16, 16)))
|
||||
{
|
||||
congestionArray.reserve(congestionUpdateSeconds);
|
||||
|
||||
statusWidget = new StatusBarWidget(this);
|
||||
statusWidget->ui->delayInfo->setText("");
|
||||
statusWidget->ui->droppedFrames->setText(
|
||||
|
||||
Reference in New Issue
Block a user