File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ pub fn controls(props: &ControlsProps) -> Html {
3939 let path_computed = props. path_computed ;
4040 let is_panel_minimized = props. is_panel_minimized ;
4141
42- // Handler for algorithm dropdown
4342 let on_change_algo = Callback :: from ( move |e : Event | {
4443 let select = e
4544 . target ( )
@@ -50,7 +49,6 @@ pub fn controls(props: &ControlsProps) -> Html {
5049 on_algo_change. emit ( alg_str) ;
5150 } ) ;
5251
53- // Handler for speed slider
5452 let on_change_speed = Callback :: from ( move |e : InputEvent | {
5553 if let Some ( target) = e. target ( ) {
5654 if let Ok ( input) = target. dyn_into :: < HtmlInputElement > ( ) {
@@ -61,7 +59,6 @@ pub fn controls(props: &ControlsProps) -> Html {
6159 }
6260 } ) ;
6361
64- // Button states
6562 let find_path_text = if is_computing {
6663 "Computing..."
6764 } else {
You can’t perform that action at this time.
0 commit comments