View Single Post
10/29/20, 10:34 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Just as an extra info (maybe there is a better way as well to achieve this?):
To wait 1 frame just call your function with a zo_callLater and delay 0 ms:

Code:
zo_callLater(function() 
   -- run you code which should be delayed by 1 frame here
end, 0)
  Reply With Quote