mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 11:08:13 -05:00
Support legacy sizes for the action icon. Fix #1003.
This commit is contained in:
parent
da7d258e2e
commit
cc95e49b6f
@ -39,7 +39,7 @@ drawIcon = (resultColor, profileColor) ->
|
|||||||
drawContext = document.getElementById('canvas-icon').getContext('2d')
|
drawContext = document.getElementById('canvas-icon').getContext('2d')
|
||||||
|
|
||||||
icon = {}
|
icon = {}
|
||||||
for size in [16, 24, 32]
|
for size in [16, 19, 24, 32, 38]
|
||||||
drawContext.scale(size, size)
|
drawContext.scale(size, size)
|
||||||
drawContext.clearRect(0, 0, 1, 1)
|
drawContext.clearRect(0, 0, 1, 1)
|
||||||
if resultColor?
|
if resultColor?
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "__MSG_manifest_app_name__",
|
"name": "__MSG_manifest_app_name__",
|
||||||
"version": "2.4.0",
|
"version": "2.4.1",
|
||||||
"description": "__MSG_manifest_app_description__",
|
"description": "__MSG_manifest_app_description__",
|
||||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkhwZJT76btQ04EEMOFtZPLESD1TmSVjbLjs0OyesD9Ht8YllFPfJ3qmtbSQGVuvmxH1GK/jUO2QcEWb8bHuOjoRlq20fi5j5Aq90O8FKET+y5D8PxCyi3WmnquiEwaE5cNmaCsw/G2JlO+bZOtdQ/QKOvMxBAegABYimEGfSvCMVUEvpymys0gBhLoch72zPAiJUBkf0z8BtjYTueMRcRXkrSeRPLygUDQnZ1TkQWMYYBp/zqpD5ggxytAklEMQzR9Hn0lqu5s7iuUAgihbysPn/8Wh00Zj5FySpK//KcpG3JS7UWxC28oSt8z5ZR3YimnX+HX3P36V0mC1pgM4o7wIDAQAB",
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkhwZJT76btQ04EEMOFtZPLESD1TmSVjbLjs0OyesD9Ht8YllFPfJ3qmtbSQGVuvmxH1GK/jUO2QcEWb8bHuOjoRlq20fi5j5Aq90O8FKET+y5D8PxCyi3WmnquiEwaE5cNmaCsw/G2JlO+bZOtdQ/QKOvMxBAegABYimEGfSvCMVUEvpymys0gBhLoch72zPAiJUBkf0z8BtjYTueMRcRXkrSeRPLygUDQnZ1TkQWMYYBp/zqpD5ggxytAklEMQzR9Hn0lqu5s7iuUAgihbysPn/8Wh00Zj5FySpK//KcpG3JS7UWxC28oSt8z5ZR3YimnX+HX3P36V0mC1pgM4o7wIDAQAB",
|
||||||
"icons": {
|
"icons": {
|
||||||
@ -16,6 +16,7 @@
|
|||||||
"browser_action": {
|
"browser_action": {
|
||||||
"default_icon": {
|
"default_icon": {
|
||||||
"16": "img/icons/omega-action-16.png",
|
"16": "img/icons/omega-action-16.png",
|
||||||
|
"19": "img/icons/omega-action-19.png",
|
||||||
"24": "img/icons/omega-action-24.png",
|
"24": "img/icons/omega-action-24.png",
|
||||||
"32": "img/icons/omega-action-32.png"
|
"32": "img/icons/omega-action-32.png"
|
||||||
},
|
},
|
||||||
|
BIN
omega-web/img/icons/omega-action-19.png
Normal file
BIN
omega-web/img/icons/omega-action-19.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 692 B |
Loading…
Reference in New Issue
Block a user