Skip to content

Commit

Permalink
Update menus.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Jan 11, 2024
1 parent f0ad24e commit a5261f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ MenuIconPath

Either a *string* to specify a single icon path to be used for all sizes, or a *dictionary object* to specify paths for multiple icons in different sizes, so the icon does not have to be scaled for a device with a different pixel density. Each entry is a *name-value* pair with *name* being a size and *value* being a path to the icon for the specified size. Example:

.. literalinclude:: includes/MenuIconPath.json
.. literalinclude:: includes/IconPath.json
:language: JSON

See the `MDN documentation about choosing icon sizes <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action#choosing_icon_sizes>`__ for more information on this.
Expand Down

0 comments on commit a5261f1

Please sign in to comment.