Skip to content

Commit 14d488f

Browse files
allow faster fps for visualizer widget
1 parent 3e43e03 commit 14d488f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/qt/visualizerwidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void VisualizerWidget::showConfig() {
117117
QCheckBox *gridChk = new QCheckBox(tr("Grid"));
118118
QPushButton *submitBtn = new QPushButton(tr("Submit"));
119119

120-
fpsSpin->setRange(0, 120);
120+
fpsSpin->setRange(1, 1000);
121121
fpsSpin->setValue(m_fps);
122122

123123
scaleSpin->setRange(0, 5000);
@@ -268,7 +268,7 @@ void VisualizerWidget::stringToView() {
268268
if (fps_reg.match(str).hasMatch()) {
269269
str.chop(3);
270270
m_fps = str.toInt();
271-
if (m_fps < 1 || m_fps > 120) { m_fps = 30; }
271+
if (m_fps < 1 || m_fps > 1000) { m_fps = 30; }
272272
}
273273
}
274274

0 commit comments

Comments
 (0)