summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d04c5bd)
Change-Id: I26f3edb02c3f7efaa0c92bb6878a664fc03c2a9b
{
float pointSize = value.Get< float >();
{
float pointSize = value.Get< float >();
- if( impl.mController->GetDefaultPointSize() != pointSize /*TODO - epsilon*/ )
+ if( fabsf(impl.mController->GetDefaultPointSize() - pointSize) > Math::MACHINE_EPSILON_1 )
{
impl.mController->SetDefaultPointSize( pointSize );
impl.RequestTextRelayout();
{
impl.mController->SetDefaultPointSize( pointSize );
impl.RequestTextRelayout();