Skip to content

colorful_spectrum remastered#35

Open
konstkarapan wants to merge 5 commits into0xAF:mainfrom
konstkarapan:main
Open

colorful_spectrum remastered#35
konstkarapan wants to merge 5 commits into0xAF:mainfrom
konstkarapan:main

Conversation

@konstkarapan
Copy link

No description provided.

replace old plugin with the new one
@konstkarapan
Copy link
Author

Do not merge yet.
I will try adding an option to configure dark background for the spectrum

@konstkarapan
Copy link
Author

As I mentioned in the telegram group I made the background opacity configurable only via the init.js file in order to keep ui clean. It's now ready to be reviewed and merged

@konstkarapan
Copy link
Author

I ended up adding the slider. With this implementation it only appears when the droplet next to the drop-down menu is pressed so it doesn't take up any space.

Copy link
Owner

@0xAF 0xAF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the result, but I do not like the changes.
I would like you to stay more closely to the original plugin.
Or just make another plugin and send separate PR.

/*
* Plugin: colorify the spectrum analyzer.
*
* Plugin: Spectravue Style Spectrum Analyzer (Stable & Uncorrupted)
Copy link
Owner

@0xAF 0xAF Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why putting new description to the plugin?

*
* Plugin: Spectravue Style Spectrum Analyzer (Stable & Uncorrupted)
* License: MIT
* Copyright (c) 2023 Stanislav Lechev [0xAF], LZ2SLL
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why removing the copyright?


Plugins.colorful_spectrum.init = async function () {

// Check if utils plugin is loaded
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why removing the comments everywhere?


for (let i = 0; i < allSelects.length; i++) {
let text = allSelects[i].textContent || allSelects[i].innerText;
if (text.includes('Turbo') && text.includes('Ocean') && text.includes('Eclipse')) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why checking for specific theme names?

Plugins.utils.wrap_func(
'draw',
function (orig, thisArg, args) { return true; },
function (res, thisArg, args) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent is not ok

@konstkarapan
Copy link
Author

Ok. I didn't really touch the code my self. Like at all. So I'll try to redo this trying to stay as close as possible to the original code structure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants