From 9bd661dbf4a0c7457d2b06786ff8dedc8ce5335e Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 5 Feb 2016 10:42:25 +0100 Subject: [PATCH] #2815 creaMaracasVisu Bug New Normal - ColorLayer box transparence 0 not permitted --- .../widgets/ThresholdImageView/ColorLayerImageViewPanel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.47.1