Skip to content

Commit

Permalink
Small Tippy bugfix (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Apr 12, 2019
1 parent c9f5482 commit d77a110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tippy.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
; You have an example at the end of the script!
; The tooltip is beautifully shown using ToolTipFM (a fancier tooltip -- read it's own comments).
Tippy(Text = "", Duration = 3333) {
Sleep 1 ; this sleep is needed else in some rare cases the tooltip will have a small delay to appear
global TippyText := Text

SetTimer, TippyOff, %Duration%
SetTimer, TippyOn, 10
Sleep 1 ; this sleep is needed else in some rare cases the tooltip will have a small delay to appear
}

TippyOn() {
Expand Down

0 comments on commit d77a110

Please sign in to comment.