From: Eduardo DAVILA Date: Fri, 5 Feb 2016 09:42:25 +0000 (+0100) Subject: #2815 creaMaracasVisu Bug New Normal - ColorLayer box transparence 0 not permitted X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9bd661dbf4a0c7457d2b06786ff8dedc8ce5335e;p=creaMaracasVisu.git #2815 creaMaracasVisu Bug New Normal - ColorLayer box transparence 0 not permitted --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx index 019979c..ec4cd79 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx @@ -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 );