MCPcopy Create free account
hub / github.com/chrxh/alien / validateAndCorrect

Method validateAndCorrect

source/Gui/StatisticsWindow.cpp:845–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843}
844
845void StatisticsWindow::validateAndCorrect()
846{
847 _timeHorizonForLiveStatistics = std::max(1.0f, std::min(TimelineLiveStatistics::MaxLiveHistory, _timeHorizonForLiveStatistics));
848 _timeHorizonForLongtermStatistics = std::max(1.0f, std::min(100.0f, _timeHorizonForLongtermStatistics));
849}
850
851float StatisticsWindow::calcPlotHeight(int row) const
852{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected