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

FR: Add option to set the opacity of lines drawn using DrawTools #744

Open
RickyGrassmuck opened this issue Jun 27, 2024 · 2 comments
Open

Comments

@RickyGrassmuck
Copy link

As someone that doesn't do well with low contrast colors, being able to reduce the opacity of drawn lines would make it easier to have the planned links stand out when they overlap Res/Enl fields as well as when using dark map tiles (0.5 opacity makes a whole range of colors essentially unusable).

I just started getting acquainted with the code base and may make a pass at adding this if someone more familiar with the project doesn't tackle it.

Example screenshot showing how low the contrast is for drawn lines vs. rendered links/fields.

Screenshot 2024-06-27 at 11 41 44

@McBen
Copy link
Contributor

McBen commented Jun 28, 2024

Is it an option to simply enhance the colorpicker by an alpha value control?

AFAIK the used jQueryUI Spectrum already supports alpha channel.

@McBen
Copy link
Contributor

McBen commented Jun 28, 2024

Is it an option to simply enhance the colorpicker by an alpha value control?

No. bad idea.
That would set all old script to opacity off because of default values.

Better create an addtional 'colorblindness' (or similar) plugin.

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

No branches or pull requests

2 participants