Skip to content

Commit

Permalink
workaround cgen bug affecting msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 24, 2024
1 parent b1c879c commit 60cde96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/gg/easing_animation.v
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ fn (mut app App) frame() {
app.h = size.height - 100
app.gg.begin()
app.gg.draw_line(0, f32(app.h + 30), size.width, f32(app.h + 30), gx.gray)
for k, e in all[app.kind] {
current_map := all[app.kind].clone()
for k, e in current_map {
app.draw_circle(k, e)
}
app.gg.draw_text_def(50, int(app.h + 50), 'Note: use left and right arrows to change functions. Frame: ${app.gg.frame:010} | t: ${app.t:6.3f} | kind: ${app.kind}.')
Expand Down

0 comments on commit 60cde96

Please sign in to comment.