From 140cb43c8b0872e3837dd5f0588532eb80c085f0 Mon Sep 17 00:00:00 2001 From: shenweip <1037567878@qq.com> Date: Tue, 3 Mar 2020 17:45:23 +0800 Subject: [PATCH] Warning fix. Fixes warning C4305 in VS. --- UI/MainScreen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/MainScreen.h b/UI/MainScreen.h index acd1f15b53..b2052d3474 100644 --- a/UI/MainScreen.h +++ b/UI/MainScreen.h @@ -179,6 +179,6 @@ private: UI::EventReturn GridPlusClick(UI::EventParams &e); UI::EventReturn GridMinusClick(UI::EventParams &e); UI::EventReturn OnRecentClearClick(UI::EventParams &e); - const float MAX_GAME_GRID_SCALE = 3.0; - const float MIN_GAME_GRID_SCALE = 0.8; + const float MAX_GAME_GRID_SCALE = 3.0f; + const float MIN_GAME_GRID_SCALE = 0.8f; };