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

Slider y pos could control transparency #6

Open
jo-chemla opened this issue Mar 19, 2024 · 0 comments
Open

Slider y pos could control transparency #6

jo-chemla opened this issue Mar 19, 2024 · 0 comments

Comments

@jo-chemla
Copy link
Contributor

jo-chemla commented Mar 19, 2024

Have the background map canvas always take 100% width/height, and add control similar to app.iconem.com media viewer (persp/ortho): the slider horizontal position would still control foreground canvas width, and the slider marker vertical position would control the foreground canvas opacity.

Possible way to do it: add to the class="gutter gutter-horizontal" component a vertical slider height:100%, which position controls foreground map transparency in Split mode only. Downside of this implementation is that selecting the handle and moving up/down and left/right at the same time might not be interpreted on both axes (unless eventPropagation activated correctly)

@jo-chemla jo-chemla changed the title Slider could control transparency Slider y pos could control transparency Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants