Update addons

This commit is contained in:
Thomas Weber committed 2021-04-16 21:19:16 -05:00
1 parent d88b55ff2e
commit ef0574c8a7
3 files changed
+4 -7

No files matched your search

@@ -248,11 +248,8 @@ export default async ({ addon, console, msg }) => {
addon.tab.redux.addEventListener("statechanged", prevEventHandler);
saColorPicker.appendChild(saColorPickerImage);
saColorPicker.appendChild(saColorPickerHandle);
let e = element;
if (element.parentElement.querySelector(".sa-color-picker"))
e = element.parentElement.querySelector(".sa-color-picker");
element.parentElement.insertBefore(saColorLabel, e);
element.parentElement.insertBefore(saColorPicker, e);
element.parentElement.insertBefore(saColorPicker, element.parentElement.children[4]);
element.parentElement.insertBefore(saColorLabel, element.parentElement.children[4]);
//hide sat and bright sliders
saColorPicker.parentElement.children[2].style.display = "none";
+1 -1
View File
@@ -1,4 +1,4 @@
export const getHexRegex = () => /^#[0-9a-fA-F]{3,8}$/;
export const getHexRegex = () => /^#?[0-9a-fA-F]{3,8}$/;
export const normalizeHex = (input) => {
let hex = String(input);
+1 -1
View File
@@ -1 +1 @@
{"version":"1.12.1","commit":"0faef25","languages":["ar","de","en","es","fr","id","it","ja","nl","pl","pt-br","ro","ru","sl","th","tr"]}
{"version":"1.12.1","commit":"9c14192","languages":["ar","de","en","es","fr","id","it","ja","nl","pl","pt-br","ro","ru","sl","th","tr"]}