Originally reported in ampmod/ampmod#63 by @Abdavark.
Expected behaviour
Disabling the "Editor customizable colours" addon should keep all tabs working normal, with little to no interference besides changing the colors.
Actual behaviour
Disabling the addon crashes the editor:
TypeError: e.getGuiColors is not a function Component stack: at t (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/7d90616102014e547f44.js:3:6573) at a (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:37:9129) at d (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/7d90616102014e547f44.js:1:120528) at t (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:12:14922) at a (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:37:9129) at n (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:37:5891) at n (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/0842c217a31bf8aa7183.js:1:453374)
How to reproduce
- Open AmpMod Canary and the canary addons page.
- If the "Editor customizable colours" addon is not enabled, enable it.
- Disable the addon.
- Return to the editor.
AmpMod build type: If the bug occured on AmpMod production or canary, please say so here. If unsure, choose Production.
Canary (ampmod.codeberg.page/canary)
Originally reported in ampmod/ampmod#63 by @Abdavark.
### Expected behaviour
Disabling the "Editor customizable colours" addon should keep all tabs working normal, with little to no interference besides changing the colors.
### Actual behaviour
Disabling the addon crashes the editor:
`TypeError: e.getGuiColors is not a function
Component stack: at t (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/7d90616102014e547f44.js:3:6573) at a (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:37:9129) at d (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/7d90616102014e547f44.js:1:120528) at t (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:12:14922) at a (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:37:9129) at n (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/dd9dc6661882b0cf8f05.js:37:5891) at n (https://ampmod.codeberg.page/@canary/js/amp-0.3.0/0842c217a31bf8aa7183.js:1:453374)`
### How to reproduce
1. Open AmpMod Canary and the canary addons page.
2. If the "Editor customizable colours" addon is not enabled, enable it.
3. Disable the addon.
4. Return to the editor.
### AmpMod build type: If the bug occured on AmpMod production or canary, please say so here. If unsure, choose Production.
Canary (ampmod.codeberg.page/canary)