Browse Source

Accidentally disabled third eye by default

pull/46/head test
coomdev 2 years ago
parent
commit
5ad6f848f6
  1. 2
      main.meta.js
  2. 4
      main.user.js
  3. 2
      src/main.ts

2
main.meta.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.61
// @version 0.62
// @description uhh
// @author You
// @match https://boards.4channel.org/*

4
main.user.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.61
// @version 0.62
// @description uhh
// @author You
// @match https://boards.4channel.org/*
@ -14403,7 +14403,7 @@
settings.subscribe((b) => {
csettings = b;
processors = [
...csettings.te ? [thirdeye_default] : [],
...!csettings.te ? [thirdeye_default] : [],
png_default,
webm_default,
gif_default

2
src/main.ts

@ -26,7 +26,7 @@ let processors: ImageProcessor[] =
settings.subscribe(b => {
csettings = b;
processors = [...(csettings.te ? [thirdeye] : []), png, webm, gif
processors = [...(!csettings.te ? [thirdeye] : []), png, webm, gif
];
});

Loading…
Cancel
Save