mirror of https://github.com/axmolengine/axmol.git
fixed compiler warning for double to float conversion
This commit is contained in:
parent
7623ee390b
commit
736de4e37c
|
@ -523,7 +523,7 @@ void UILayoutComponentTest_Editor::onResizeContainer(Ref* sender)
|
|||
switchButton->setEnabled(true);
|
||||
switchButton->setBright(true);
|
||||
}
|
||||
}, 0.025, 39, 0, "1");
|
||||
}, 0.025f, 39, 0, "1");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -539,6 +539,6 @@ void UILayoutComponentTest_Editor::onResizeContainer(Ref* sender)
|
|||
switchButton->setEnabled(true);
|
||||
switchButton->setBright(true);
|
||||
}
|
||||
}, 0.025, 39, 0, "2");
|
||||
}, 0.025f, 39, 0, "2");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue