mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
warnings cleanup
cleanup and some warning fixes
This commit is contained in:
parent
9dc5ae833b
commit
e6c653c441
8 changed files with 55 additions and 42 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue