Documentation cleanup.
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / constraints.h
index 7780cc2..6c4f194 100644 (file)
@@ -202,7 +202,7 @@ struct MyFunctor
     else
     {
       // Otherwise it will blend between fully opaque and transparent
-      current.a = ( 100.0f - mDistance ) / 100.0f;
+      current.a = ( mDistance - distance ) / mDistance;
     }
   }