working on web

This commit is contained in:
Vladislav Khorev committed 2026-02-23 11:45:55 +03:00
1 parent fa3a4c66c9
commit db4254e205
4 files changed
+55 -12

No files matched your search

+2 -2
View File
@@ -103,10 +103,10 @@ namespace ZL {
});
uiManager.setSliderCallback("velocitySlider", [this](const std::string& name, float value) {
int newVel = roundf(value * 10);
/*if (newVel > 2)
if (newVel > 2)
{
newVel = 2;
}*/
}
if (newVel != Environment::shipState.selectedVelocity) {
onVelocityChanged(newVel);