Hola Shoes hounds,

After the recent addition of Background#fill=, I changed a widget I
had to use this technique in favor of rendering two backgrounds, one
of which is shown or hidden when the mouse enters and leaves the slot.

http://github.com/greatseth/nitgit/commit/2ae7dc8c855c3c3931c1472831aad314376ec4a7

You can compare that versus the original implementation on the master branch.

The background-fill approach is much less responsive. If you move the
mouse over the list of commits, there is some pretty nasty lag as you
move from one item to the next in terms of when the hover state is
shown and removed.

The original implementation of rendering two backgrounds and toggling
the visibility of the hover state background performs much better,
though it is still not as snappy as I'd like.

Has anyone been playing with the new ability to change existing
background fill colors? I'm wondering if this is a general problem or
if perhaps something in my overall implementation is flawed.

-- 
Seth Thomas Rasmussen
http://greatseth.com

Reply via email to