mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-31 03:22:08 +00:00
* Optimizes MouseEntered (#63246) * Optimizes MouseEntered Moves status_bar_set_text into the interface definition itself. We don't need to use MouseEntered for this anymore, since lummy added an on-status paramerter to the main window This saves us a little under half our cpu time Gets rid of a needless ?. check, caches a datum var access, inlines a text define. These all lower the cost of MouseEntered to some degree, though to be perfectly honest with you I really think we should be doing everything on the client side. The only reason I'm not moving screentext over there too is because there are plans to expand on screentips to be contextual, which wouldn't be possible. Though now that I think about it maybe that's not even true.... Anyway, I'm doing what I can to not change behavior for now. Really kinda cheesed about this though. * Some people are saying this (Cleans up the html a bit, tnx mothman) Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Optimizes MouseEntered Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>