fixing rendering bug
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Sat, 20 Feb 2021 17:18:19 +0000 (11:18 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Sat, 20 Feb 2021 17:18:19 +0000 (11:18 -0600)
dist/prez.wasm
src/prez.onyx

index d91e272e8a0b3c1ded2008e051385c8383bd33d6..7978033d617b2b6719fd8ac70c8cabf8b067b557 100644 (file)
Binary files a/dist/prez.wasm and b/dist/prez.wasm differ
index feea310e4078f7a2aa0857c403699320ccdf88fe..18d755abb6267e4d8f4dbf2332344640510e6eac 100644 (file)
@@ -58,6 +58,9 @@ loop :: () -> void #export "loop" {
     slideshow_update_animation(^the_slideshow);
 
     if the_slideshow.current_animation != null {
+        identity := f32.[ 1, 0, 0, 1, 0, 0 ];
+        Canvas.set_transform(canvas, identity);
+
         Canvas.clear(canvas, 0, 0, 0, 1);
         the_slideshow.current_animation->render(^the_slideshow);
     }