Am 26.03.25 um 11:42 schrieb Dominik Csapak:
> On 3/26/25 11:19, Thomas Lamprecht wrote:
>> But again, probably not required as requisting an animation frame from
>> inside the callback allways gives the next one already anyway.
>>
>> [0]: 
>> https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame
> 
> I'd interpret this in the same way, so a simple
> 
> requestAnimationFrame(() => requestAnimationFrame(() => { .. my callback code 
> .. }));
> 
> should also work?

would make sense to me.


> I'll send a v2 if that's less work for you

Yeah, that would simplify it a bit for me.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to