mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 00:18:23 +00:00
settings: fix performance overlay margin checkbox
This commit is contained in:
parent
7e31c30133
commit
b84fd29abc
@ -1186,8 +1186,8 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
||||
ui->perfOverlayUpdateInterval->setEnabled(enabled);
|
||||
ui->perfOverlayFontSize->setEnabled(enabled);
|
||||
ui->perfOverlayOpacity->setEnabled(enabled);
|
||||
ui->perfOverlayMarginX->setEnabled(enabled);
|
||||
ui->perfOverlayMarginY->setEnabled(enabled);
|
||||
ui->perfOverlayMarginX->setEnabled(enabled && !ui->perfOverlayCenterX->isChecked());
|
||||
ui->perfOverlayMarginY->setEnabled(enabled && !ui->perfOverlayCenterY->isChecked());
|
||||
ui->perfOverlayCenterX->setEnabled(enabled);
|
||||
ui->perfOverlayCenterY->setEnabled(enabled);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user