From 35e63a2a59432de3e55a0771a794f7756f125575 Mon Sep 17 00:00:00 2001 From: Thomas Rientjes Date: Wed, 27 Jun 2018 20:23:58 +0200 Subject: [PATCH] Register additional browser action icon size --- core/state-manager.js | 2 ++ manifest.json | 1 + 2 files changed, 3 insertions(+) diff --git a/core/state-manager.js b/core/state-manager.js index 681bfec..86fe375 100644 --- a/core/state-manager.js +++ b/core/state-manager.js @@ -230,6 +230,7 @@ stateManager.requests = {}; stateManager.tabs = {}; stateManager.defaultIconPath = { + '16': chrome.runtime.getURL('icons/action/icon16-default.png'), '18': chrome.runtime.getURL('icons/action/icon18-default.png'), '19': chrome.runtime.getURL('icons/action/icon19-default.png'), '32': chrome.runtime.getURL('icons/action/icon32-default.png'), @@ -239,6 +240,7 @@ stateManager.defaultIconPath = { }; stateManager.disabledIconPath = { + '16': chrome.runtime.getURL('icons/action/icon16-disabled.png'), '18': chrome.runtime.getURL('icons/action/icon18-disabled.png'), '19': chrome.runtime.getURL('icons/action/icon19-disabled.png'), '32': chrome.runtime.getURL('icons/action/icon32-disabled.png'), diff --git a/manifest.json b/manifest.json index d6742d2..f213597 100644 --- a/manifest.json +++ b/manifest.json @@ -32,6 +32,7 @@ "browser_action": { "default_icon": { + "16": "icons/action/icon16-default.png", "18": "icons/action/icon18-default.png", "19": "icons/action/icon19-default.png", "32": "icons/action/icon32-default.png",