diff --git a/app.py b/app.py index 50a25ab..5e58720 100644 --- a/app.py +++ b/app.py @@ -480,10 +480,6 @@ # on_change=lambda: None # Ensure state updates ) - # Update session state from slider - # if frame_idx != st.session_state[frame_key]: - # st.session_state[frame_key] = frame_idx - # Display image with custom width based on global zoom level try: img = Image.open(images[frame_idx]) @@ -498,7 +494,7 @@ ) # Arrow buttons for frame navigation (画像の右下に配置) - col1, col2, col3 = container.columns([4, 1, 1]) + col1, col2, col3 = container.columns([4, 0.5, 0.5], gap="small") with col1: st.write("") # Spacer with col2: