Skip to content

Commit

Permalink
fix: 默认最小帧率改为 10 FPS
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Dec 31, 2024
1 parent 6c65469 commit c59f2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Magpie/AppSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct _AppSettingsData {
DuplicateFrameDetectionMode _duplicateFrameDetectionMode =
DuplicateFrameDetectionMode::Dynamic;

float _minFrameRate = 5.0f;
float _minFrameRate = 10.0f;

bool _isPortableMode = false;
bool _isAlwaysRunAsAdmin = false;
Expand Down
1 change: 1 addition & 0 deletions src/Magpie/HomeViewModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ void HomeViewModel::MinFrameRateIndex(int value) {
}

AppSettings::Get().MinFrameRate((float)MIN_FRAME_RATE_OPTIONS[value]);
RaisePropertyChanged(L"MinFrameRateIndex");
}

bool HomeViewModel::IsDeveloperMode() const noexcept {
Expand Down

0 comments on commit c59f2ce

Please sign in to comment.