Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invert page and/or images independently #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

franckspike
Copy link

Still missing default value initialization, but maybe you want to integrate it, François

@Max-Github
Copy link
Owner

What would be the purpose to invert the images only?

@franckspike
Copy link
Author

I invert the colors of my whole system, but I want my images to be reinverted back to normal, I first thought your add-on might do this, then I realized you provided to source code :-)

@Max-Github
Copy link
Owner

Max-Github commented Mar 5, 2019

That is a good reason for this feature.

I have looked at the changes, would you be able to update the options page to have the following 2 checkboxes (instead of the radio buttons):

Invert Text: (default on)
Invert Images: (default on)

And add logic to enable both these options if nothing is enabled for inversion.

This is to avoid having too many options for the radio buttons in the futures, as each extra option would result in having (n)! number of buttons vs just n check boxes.

@franckspike
Copy link
Author

franckspike commented Mar 6, 2019

I was thinking that we should be able to activate on/off the add-on processing, but then I realized that the options need to be saved and not changed for a later activation. So this leads to the possibility of having it activated but with all the options doing nothing and would be confusing that the add-on did nothing upon activation or deactivation... That's why I came with the radio button solution, even if I agree preferring eigenvalue toggling over a cross product flat listed list of choices...

Then thinking about it yesterday I came with the idea to display a colored warning box message when none of the eigen (independent) processing option has been selected, but I'd prefer making it impossible to use such an option selection set...

What are your thoughts ?

@Max-Github
Copy link
Owner

I prefer to keep things as simple as possible regarding options. Which includes having the least amount of options.

As for the case where a user disables all inversions, the simplest thing would be just revert to the default state when everything is inverted. There is no need for warning boxes. It just corrects the situation.

@franckspike
Copy link
Author

franckspike commented Mar 6, 2019 via email

@MichaelSantosDev
Copy link

I use color inversion too but, I'm trying set all my APPS, SO and etc with dark/high contrast themes.
Because of this, I started to use your addon MAX, first at all, thanks for developed it.
This kind of option will be amazing, I would like invert colors of page, but keep original colors of images and videos.
Thanks again.

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.

3 participants