Skip to content
This repository has been archived by the owner on Dec 23, 2018. It is now read-only.

Commit

Permalink
Fixed an issue that cause the "Enabled" setting for tooltips to not w…
Browse files Browse the repository at this point in the history
…ork.
  • Loading branch information
sdias committed Feb 12, 2017
1 parent e175314 commit 9365f0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virtual-desktop-enhancer.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Menu, Tray, Click, 1

ReadIni("settings.ini")

global TooltipsAreEnabled := (TooltipsAreEnabled != "" and TooltipsAreEnabled ~= "^[01]$") ? TooltipsAreEnabled : 1
global TooltipsEnabled := (TooltipsEnabled != "" and TooltipsEnabled ~= "^[01]$") ? TooltipsEnabled : 1
global TooltipsLifespan := (TooltipsLifespan != "" and TooltipsLifespan ~= "^\d+$") ? TooltipsLifespan : 750
global TooltipsCentered := (TooltipsCentered != "" and TooltipsCentered ~= "^[01]$") ? TooltipsCentered : 1
global TooltipsFontSize := (TooltipsFontSize != "" and TooltipsFontSize ~= "^\d+$") ? TooltipsFontSize : 11
Expand Down Expand Up @@ -233,7 +233,7 @@ OnTaskbarScrollDown() {
}

OnDesktopSwitch(n:=1) {
if (TooltipsAreEnabled) {
if (TooltipsEnabled) {
_ShowTooltip(n)
}
_ChangeAppearance(n)
Expand Down

0 comments on commit 9365f0f

Please sign in to comment.