mediaviewer: decrease transition anim from 500ms to 300ms

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-29 13:45:22 -07:00
parent f57d582307
commit 2de6851fbd

View File

@@ -51,7 +51,7 @@ impl MediaViewerState {
ui.ctx().animate_bool_with_time_and_easing(
self.anim_id,
self.flags.contains(MediaViewerFlags::Open),
0.5,
0.3,
egui::emath::easing::cubic_out,
)
}