1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 22:44:32 +00:00

Re-enable double->float cast warning and fix all instances where this fired

This commit is contained in:
fgenesis 2017-01-19 23:31:56 +01:00
parent 0e6dccbb4e
commit 7a60f493a5
50 changed files with 680 additions and 682 deletions

View file

@ -208,8 +208,8 @@ void DebugButton::onUpdate(float dt)
if (highlight->isCoordinateInsideWorld(core->mouse.position) && ((!md) || (md && !core->mouse.buttons.left)))
{
highlight->color.interpolateTo(activeColor, 0.1);
highlight->alpha.interpolateTo(activeAlpha, 0.1);
highlight->color.interpolateTo(activeColor, 0.1f);
highlight->alpha.interpolateTo(activeAlpha, 0.1f);
if (core->mouse.buttons.left && !md)
md = true;
@ -232,8 +232,8 @@ void DebugButton::onUpdate(float dt)
{
md = false;
}
highlight->color.interpolateTo(inactiveColor, 0.1);
highlight->alpha.interpolateTo(inactiveAlpha, 0.1);
highlight->color.interpolateTo(inactiveColor, 0.1f);
highlight->alpha.interpolateTo(inactiveAlpha, 0.1f);
}