warnings cleanup

cleanup and some warning fixes
This commit is contained in:
marauder2k7 2024-03-14 08:28:11 +00:00
parent 9dc5ae833b
commit e6c653c441
8 changed files with 55 additions and 42 deletions

View file

@ -598,7 +598,7 @@ bool GuiShaderEditor::onMouseWheelUp(const GuiEvent& event)
if (!mActive || !mAwake || !mVisible)
return Parent::onMouseWheelUp(event);
mZoomScale *= 1.1;
mZoomScale *= 1.1f;
return true;
}
@ -608,7 +608,7 @@ bool GuiShaderEditor::onMouseWheelDown(const GuiEvent& event)
if (!mActive || !mAwake || !mVisible)
return Parent::onMouseWheelDown(event);
mZoomScale *= 0.9;
mZoomScale *= 0.9f;
return true;
}