aboutsummaryrefslogtreecommitdiffstats
path: root/web-project/src/solo_tool_web.py
diff options
context:
space:
mode:
Diffstat (limited to 'web-project/src/solo_tool_web.py')
-rw-r--r--web-project/src/solo_tool_web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-project/src/solo_tool_web.py b/web-project/src/solo_tool_web.py
index d0e8bf8..1c039ab 100644
--- a/web-project/src/solo_tool_web.py
+++ b/web-project/src/solo_tool_web.py
@@ -56,7 +56,7 @@ def main():
# Play control
with ui.button_group().classes('w-full').style('height: 90px'):
ui.button(icon='skip_previous', on_click=handlers.changeSong(st, -1)).style('flex: 1')
- ui.button(icon='stop', on_click=st.stop, color='negative').style('flex: 1')
+ ui.button(icon='start', on_click=handlers.seekAbsolute(st, 0.0), color='negative').style('flex: 1')
ui.button(color='positive', on_click=handlers.playPause(st)).bind_icon_from(st, "playing", lambda playing: "pause" if playing else "play_arrow").style('flex: 2')
ui.button(icon='undo', on_click=st.jump, color='secondary').style('flex: 2')
ui.button(icon='skip_next', on_click=handlers.changeSong(st, 1)).style('flex: 1')