The renderer opacity value should be restored when the text opacity value is not zero.
Change-Id: Iff61b7e5665b3d083278d34fcb7701089cd48c91
DALI_TEST_EQUALS( drawTrace.FindMethod( "DrawArrays" ), false, TEST_LOCATION ); // Rendering should be skipped
+ label.SetProperty( TextLabel::Property::TEXT_COLOR, Color::RED );
+
+ drawTrace.Reset();
+
+ application.SendNotification();
+ application.Render();
+
+ DALI_TEST_EQUALS( drawTrace.FindMethod( "DrawArrays" ), true, TEST_LOCATION ); // Should be rendered again
+
END_TEST;
}
{
current = 0.0f;
}
+ else
+ {
+ current = 1.0f;
+ }
}
} // unnamed namespace