-
-
Save nullhook/6183b04c8ca8da823e0424d2bd0aae9a to your computer and use it in GitHub Desktop.
you can read frame N's layout now
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <canvas id="tick" layoutsubtree style="position:fixed;width:1px;height:1px;opacity:0"> | |
| <div></div> | |
| </canvas> | |
| <script> | |
| tick.onpaint = () => { /* runs every frame, after layout, before paint */ tick.requestPaint(); }; | |
| tick.requestPaint(); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment