@@ -93,10 +93,10 @@ AchievementSettingsWidget::AchievementSettingsWidget(SettingsWindow* dialog, QWi
9393 dialog->registerWidgetHelp (m_ui.notificationLocation , tr (" Notification Location" ), tr (" Top Left" ),
9494 tr (" Selects the screen location for achievement and leaderboard notifications." ));
9595 dialog->registerWidgetHelp (m_ui.notificationScale , tr (" Notification Scale" ), tr (" Automatic" ),
96- tr (" Determines the size of achievement notification popups." ));
96+ tr (" Determines the size of achievement notification popups. Automatic will use the same "
97+ " scaling as the Big Picture UI." ));
9798 dialog->registerWidgetHelp (m_ui.notificationScaleCustom , tr (" Custom Notification Scale" ), tr (" 100%" ),
98- tr (" Sets the custom scale percentage for achievement notifications. Automatic will use "
99- " the same scaling as the Big Picture UI." ));
99+ tr (" Sets the custom scale percentage for achievement notifications." ));
100100 dialog->registerWidgetHelp (
101101 m_ui.challengeIndicatorMode , tr (" Challenge Indicators" ), tr (" Show Notifications" ),
102102 tr (" Shows a notification or icons in the selected location when a challenge/primed achievement is active." ));
@@ -174,8 +174,8 @@ void AchievementSettingsWidget::setupAdditionalUi()
174174 .arg ((global_value < 0 ) ? tr (" Use OSD Scale" ) : ((global_value == 0 ) ? tr (" Automatic" ) : tr (" Custom" ))));
175175 }
176176
177- cb->addItem (tr (" Use OSD Scale" ));
178177 cb->addItem (tr (" Automatic" ));
178+ cb->addItem (tr (" Use OSD Scale" ));
179179 cb->addItem (tr (" Custom" ));
180180
181181 const int option_offset = static_cast <int >(BoolToUInt32 (m_dialog->isPerGameSettings ()));
@@ -187,7 +187,7 @@ void AchievementSettingsWidget::setupAdditionalUi()
187187 {
188188 if (custom_scale.value () <= 0 .0f )
189189 {
190- cb->setCurrentIndex (((custom_scale.value () < 0 .0f ) ? 0 : 1 ) + option_offset);
190+ cb->setCurrentIndex (((custom_scale.value () < 0 .0f ) ? 1 : 0 ) + option_offset);
191191 sb->setVisible (false );
192192 sb->setValue (100 ); // good initial value for custom scale if the user switches to it
193193 }
@@ -206,14 +206,14 @@ void AchievementSettingsWidget::setupAdditionalUi()
206206 }
207207
208208 connect (cb, &QComboBox::currentIndexChanged, this , [this , key, sb, option_offset](int index) {
209- if (index == 0 + option_offset )
209+ if (index == option_offset + 0 )
210210 {
211- m_dialog->setIntSettingValue (" Cheevos" , key, Settings::ACHIEVEMENT_NOTIFICATION_SCALE_OSD_SCALE );
211+ m_dialog->setIntSettingValue (" Cheevos" , key, Settings::ACHIEVEMENT_NOTIFICATION_SCALE_AUTO );
212212 sb->setVisible (false );
213213 }
214214 else if (index == option_offset + 1 )
215215 {
216- m_dialog->setIntSettingValue (" Cheevos" , key, Settings::ACHIEVEMENT_NOTIFICATION_SCALE_AUTO );
216+ m_dialog->setIntSettingValue (" Cheevos" , key, Settings::ACHIEVEMENT_NOTIFICATION_SCALE_OSD_SCALE );
217217 sb->setVisible (false );
218218 }
219219 else if (index == option_offset + 2 )
0 commit comments