Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/global-chrome.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ToggleCommand =
update: (tabId) ->
status = LiveReloadGlobal.tabStatus(tabId)
chrome.browserAction.setTitle { tabId, title: status.buttonToolTip }
chrome.browserAction.setIcon { tabId, path: status.buttonIcon }
chrome.browserAction.setIcon { tabId, path: { '19' : status.buttonIcon, '38' : status.buttonIconHiRes } }


chrome.browserAction.onClicked.addListener (tab) ->
Expand Down
4 changes: 4 additions & 0 deletions src/global.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ Status =
buttonEnabled: no
buttonToolTip: 'LiveReload not available on this tab'
buttonIcon: 'IconUnavailable.png'
buttonIconHiRes: '[email protected]'
disabled:
buttonEnabled: yes
buttonToolTip: 'Enable LiveReload'
buttonIcon: 'IconDisabled.png'
buttonIconHiRes: '[email protected]'
enabled:
buttonEnabled: yes
buttonToolTip: 'LiveReload is connecting, click to disable'
buttonIcon: 'IconEnabled.png'
buttonIconHiRes: '[email protected]'
active:
buttonEnabled: yes
buttonToolTip: 'LiveReload is connected, click to disable'
buttonIcon: 'IconActive.png'
buttonIconHiRes: '[email protected]'



Expand Down