Skip to content

Commit 932afa0

Browse files
author
Niyas Hameed
committed
fix(workspace): Enable animation for theme background images
Add enable_animation_with_start_time() call to the workspace background rendering path. Without this, animated GIF backgrounds freeze on their first frame instead of playing. This follows the established pattern used elsewhere in the codebase (e.g. changelog_section.rs:153).
1 parent c917be0 commit 932afa0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/workspace/view.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27591,6 +27591,7 @@ impl View for Workspace {
2759127591
.cover()
2759227592
.with_opacity(opacity_ratio)
2759327593
.with_corner_radius(window_corner_radius)
27594+
.enable_animation_with_start_time(std::time::Instant::now())
2759427595
.finish(),
2759527596
)
2759627597
.finish(),

0 commit comments

Comments
 (0)