From fb55999d47a447090ec0c6a782202dfe59afb135 Mon Sep 17 00:00:00 2001 From: moxitech Date: Sat, 16 Nov 2024 14:51:56 +0700 Subject: [PATCH] Simulation wire --- .../src/app/components/Player/Player.tsx | 7 +++- .../src/app/pages/simulations/page.tsx | 33 +++++++++---------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/src/usn-frontend/src/app/components/Player/Player.tsx b/src/usn-frontend/src/app/components/Player/Player.tsx index 406c623..9bc84b6 100644 --- a/src/usn-frontend/src/app/components/Player/Player.tsx +++ b/src/usn-frontend/src/app/components/Player/Player.tsx @@ -57,10 +57,15 @@ const InitPlayer: React.FC = ({ Click, TimeStep, TimeEnd, onTimeUpdate } setPlaybackSpeed(speed); setIsDropdownOpen(false); // закрываем выпадающую панель после выбора скорости }; - + return (
+ + {"Назад"} + {/* Кнопка старт/стоп симуляции */}