Code review comment for lp:~tpeeters/ubuntu-ui-toolkit/panel-hideTimer

Revision history for this message
Tim Peeters (tpeeters) wrote :

> What's the motivation behind these numbers? "wait(3*panel.hideTimeout/4);"

I simplified it to *0.6, and added explanation in the code.
Basically, in total you want to wait > 1.0*hideTimeout, but with user interaction inbetween, so you wait twice < hideTimeout, and you check that because of the user interaction the toolbar/panel is not closed.

« Back to merge proposal