Commit 3a09da61 authored by Yann Boucher's avatar Yann Boucher
Browse files

Modification en temps réel de la vitesse de simulation

parent 9de7e6dd
Pipeline #79527 passed with stages
in 18 seconds
......@@ -852,3 +852,14 @@ void MainWindow::on_pushButton_clicked()
ui->grid_view->copy_grid(newGrid);
}
void MainWindow::on_simSpeedSlider_sliderMoved(int position)
{
int frequence = position;
if (frequence == 0)
return;
timer->setInterval(1000/frequence);
timer->start();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment