New upstream version 25.0.3+dfsg1
This commit is contained in:
parent
04fe0efc67
commit
8b2e5f2130
569 changed files with 62491 additions and 5875 deletions
|
|
@ -17,3 +17,20 @@ void RecordButton::resizeEvent(QResizeEvent *event)
|
|||
|
||||
event->accept();
|
||||
}
|
||||
|
||||
void ReplayBufferButton::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
OBSBasic *main = OBSBasic::Get();
|
||||
if (!main->replay)
|
||||
return;
|
||||
|
||||
QSize replaySize = main->replay->size();
|
||||
int height = main->ui->recordButton->size().height();
|
||||
|
||||
if (replaySize.height() != height || replaySize.width() != height) {
|
||||
main->replay->setMinimumSize(height, height);
|
||||
main->replay->setMaximumSize(height, height);
|
||||
}
|
||||
|
||||
event->accept();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue