diff --git a/main.c b/main.c index 3165f7a..6012017 100644 --- a/main.c +++ b/main.c @@ -238,11 +238,8 @@ void DrawControlPanel(Michelson *mic) { float stepLambda = speedMode ? 10.0f : 1.0f; if (GuiButtonRepeat((Rectangle){startX, startY + 30, btnSize, 25}, "-", shouldRepeat)) mic->lambda -= stepLambda; - GuiSlider((Rectangle){startX + btnSize + 5, startY + 30, sliderWidth - 40, 25}, NULL, NULL, &mic->lambda, 380, 780); - if (GuiButtonRepeat((Rectangle){startX + btnSize + sliderWidth - 30, startY + 30, btnSize, 25}, "+", shouldRepeat)) mic->lambda += stepLambda; - DrawRectangle(startX + contentWidth - 30, startY + 30, 30, 25, WavelengthToColor(mic->lambda));