View Single Post
11/24/14, 11:57 PM   #19
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by Baertram View Post
I tried this zo_callLater workaround with 500ms. It is annoying as the filters won#t update after the click, but half a second later.
Just change it to like 100ms or less even would probably work, I shouldn't have put 500 on there. I should have changed it to a lower number before I posted that code. I wasn't looking for an optimal setting I was just messing around making sure I put a big enough number in there to see if it helped and it did. A lot.

Edit:
I just tested it again with 50ms and it was still plenty long enough that the UpdateFilteredList() only got called once while switching tabs. Heck I took it all the way down to 1ms and it still seemed to filter just fine only calling UpdateFilteredList once. Going that low though of course is not necessary & probably not a good idea.

Last edited by circonian : 11/25/14 at 01:13 AM.
  Reply With Quote