Skip to content

Commit

Permalink
Change 45 fps option to 40
Browse files Browse the repository at this point in the history
  • Loading branch information
XITRIX committed Nov 8, 2024
1 parent 269d70f commit d525b2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/settings_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@ SettingsTab::SettingsTab() {
}
});

std::vector<std::string> fpss = {"30", "45", "60", "120"};
std::vector<std::string> fpss = {"30", "40", "60", "120"};
fps->setText("settings/fps"_i18n);
fps->setData(fpss);
switch (Settings::instance().fps()) {
GET_SETTINGS(fps, 30, 0);
GET_SETTINGS(fps, 45, 1);
GET_SETTINGS(fps, 40, 1);
GET_SETTINGS(fps, 60, 2);
GET_SETTINGS(fps, 120, 3);
DEFAULT;
}
fps->getEvent()->subscribe([](int selected) {
switch (selected) {
SET_SETTING(0, set_fps(30));
SET_SETTING(1, set_fps(45));
SET_SETTING(1, set_fps(40));
SET_SETTING(2, set_fps(60));
SET_SETTING(3, set_fps(120));
DEFAULT;
Expand Down

0 comments on commit d525b2c

Please sign in to comment.