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

Display only white instead of color #38

Open
riegel opened this issue Jan 21, 2021 · 1 comment
Open

Display only white instead of color #38

riegel opened this issue Jan 21, 2021 · 1 comment

Comments

@riegel
Copy link

riegel commented Jan 21, 2021

I am using the RGB mode to get three values. The values do not represent colors, they actually represent a directed vector, I want to use the widget for Pan/Tilt/Zoom.

Is there a way to disable the part that draw the colors on the screen?

Thanks,

Terry

@fujaru
Copy link
Owner

fujaru commented Feb 5, 2021

Hello,

The colors are drawn by redrawSliders() function. To disable it, you could insert this code after jquery.wheelcolorpicker.js script which overrides the function to do nothing.

<script>
jQuery.fn.wheelColorPicker.ColorPicker.prototype.redrawSliders = function(force) { return this; };
</script>

Hope it helps.

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