mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Update src/browser/webapi/animation/Animation.zig
Co-authored-by: Karl Seguin <karlseguin@users.noreply.github.com>
This commit is contained in:
@@ -163,7 +163,7 @@ pub fn deinit(self: *Animation, _: bool) void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// callback function transitionning from a state to another
|
// callback function transitionning from a state to another
|
||||||
fn update(ctx: *anyopaque) anyerror!?u32 {
|
fn update(ctx: *anyopaque) !?u32 {
|
||||||
const self: *Animation = @ptrCast(@alignCast(ctx));
|
const self: *Animation = @ptrCast(@alignCast(ctx));
|
||||||
|
|
||||||
switch (self._playState) {
|
switch (self._playState) {
|
||||||
|
|||||||
Reference in New Issue
Block a user