mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 16:42:19 +02:00
The cursor blink timer fires every 500ms and only needs to toggle the blink state and mark the paintable as needing display. If the paintable doesn't exist yet, we can simply skip the blink -- the cursor will appear after the next natural rendering update. This avoids a potentially expensive synchronous layout every 500ms for what is a purely cosmetic operation.
324 KiB
324 KiB