From 443d6d1956691861a5e0203e33726b8c2aa93eef Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 19 Dec 2020 20:07:55 -0500 Subject: Popup action bar options (#1140) * Add options for action bar visibility and location * Add settings * Update styles * Expose properties * Update styles * Update tests --- ext/bg/data/options-schema.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'ext/bg/data') diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json index b6b11b66..7fed4909 100644 --- a/ext/bg/data/options-schema.json +++ b/ext/bg/data/options-schema.json @@ -110,7 +110,9 @@ "usePopupShadowDom", "usePopupWindow", "maximumClipboardSearchLength", - "popupCurrentIndicatorMode" + "popupCurrentIndicatorMode", + "popupActionBarVisibility", + "popupActionBarLocation" ], "properties": { "enable": { @@ -271,6 +273,16 @@ "type": "string", "enum": ["none", "asterisk", "triangle", "bar-left", "bar-right", "dot-left", "dot-right"], "default": "bar-left" + }, + "popupActionBarVisibility": { + "type": "string", + "enum": ["auto", "always"], + "default": "auto" + }, + "popupActionBarLocation": { + "type": "string", + "enum": ["left", "right", "top", "bottom"], + "default": "right" } } }, -- cgit v1.2.3