* Bug #13540 fixed - Tkscale block did not respect min and max value. 63/14963/2
Vladislav TRUBKIN [Wed, 30 Jul 2014 15:25:52 +0000 (17:25 +0200)]
Change-Id: Ic2e83bec595a706cedb2c15532120a7727e8dfaa

scilab/CHANGES_5.5.X
scilab/modules/scicos_blocks/macros/Sources/tkscaleblk.sci

index e0fbd6b..a8f6355 100644 (file)
@@ -202,6 +202,8 @@ Xcos Bug Fixes
 
 * Bug #13514 fixed - External modules' loader_pal.sce file contained absolute path.
 
+* Bug #13540 fixed - Tkscale block did not respect min and max value.
+
 
 Known issues
 =============
index 8a27d79..7d44418 100644 (file)
@@ -26,7 +26,7 @@ function block=tkscaleblk(block,flag)
 
         if slider <> [] then
             // calculate real value
-            value = (block.rpar(1) + block.rpar(2) + get(slider,"value")) / block.rpar(3);
+            value = get(slider,"value") / block.rpar(3);
 
             w = get(block.uid);
             if w <> [] then