ifarup / ciefunctions

Python module, GUI, and web app for computing the CIE TC1-97 colorimetric functions
GNU General Public License v3.0
4 stars 5 forks source link

In web application: Fix reverse behavior of the response to the "Compare with CIE 1964 10 deg" plot check-box #166

Open janhenrikwold opened 9 years ago

janhenrikwold commented 9 years ago

In the plot windows for the drop-down-menu options "CIE XYZ cone-fundamental-based spectral tristimulus values" and "CIE xy cone-fundamental-based chromaticity diagram", the responses of the check-box "Comparison with CIE 1964 10deg" are opposite of what they should be (showing comparison plot when unchecked, and no comparison plot when checked -- this should be the other way around.)

gerardodiego commented 9 years ago

Hmm, I wonder if this is a network issue. I have the correct response here at my machine, and from the server. I think I may have to block the checkboxes while the plots are loading, so that the checkboxes can't be modified in the time between the request being sent and the actual plot coming from the server.

gerardodiego commented 9 years ago

I reproduced the bug clicking on the checkbox before the plot was back from the server. So I will disable the checkbox until the plot is back, as I mentioned before.

screen shot 2015-07-03 at 12 34 47