Quantcast

Attempt to fix the dangling bindings issue

Author James Whitehead II <jnwhiteh@gmail.com>
Author date 2011-04-12 16:38:37
Author local date 2011-04-12 17:38:37 +0100
Committer James Whitehead II <jnwhiteh@gmail.com>
Committer date 2011-04-12 16:38:37
Committer local date 2011-04-12 17:38:37 +0100
Commit 94be5a2a4bfc8fd4f21e77e7e4adda25b50e53e3
Tree 9691658bef6f023adc9d937c6d2e185cd1769846
Parent cac1a824445f5ca3fcba6d7a7c8d5975943d47e2
Attempt to fix the dangling bindings issue

If the player is over a frame that has key bindings active and that
frame is hidden or obscured then those bindings will remain active until
another Clique-enabled frame is moused over. This fix uses the attribute
driver template to clear this dangling button when the player no longer
has a 'mouseover' unit.

This change could potentially cause problems for small corner cases
where non-unit-frames are enabled for Clique casting, but I do not
currently know of any uses where this is the case.