Refactor `update_position`
The original implementation to determine the button opacity was clever,
but not easy to understand. The new implementation is more verbose,
but hopefully easier to get.
Showing
Please
register
or
sign in
to comment