]> Creatis software - creaMaracasVisu.git/commitdiff
#2815 creaMaracasVisu Bug New Normal - ColorLayer box transparence 0 not permitted
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 5 Feb 2016 09:42:25 +0000 (10:42 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 5 Feb 2016 09:42:25 +0000 (10:42 +0100)
lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx

index 019979cf2694179d886f18ac9f48e0e154a31ba3..ec4cd796ff6453cc9e7a65715108762e13696838 100644 (file)
@@ -179,7 +179,7 @@ printf("EED ColorLayerImageViewPanel::ColorLayerImageViewPanel Start\n");
 
        if (type==2)
        {
-               _opacity = new wxSlider(this, wxID_ANY, 6, 1, 10, wxDefaultPosition, wxSize(2,40), wxSL_HORIZONTAL|wxSL_LABELS, wxDefaultValidator);
+               _opacity = new wxSlider(this, wxID_ANY, 6, 0, 10, wxDefaultPosition, wxSize(2,40), wxSL_HORIZONTAL|wxSL_LABELS, wxDefaultValidator);
                Connect( _opacity->GetId(), wxEVT_SCROLL_THUMBTRACK, (wxObjectEventFunction) &ColorLayerImageViewPanel::onChangeOpacity );
 //             sizer -> Add( new wxStaticText(this,-1,_T("Opacity Level"))                     , 1, wxEXPAND );
                sizer -> Add( _opacity ,1,wxGROW  );