From 2da2cad6ad3f3841191129affa92bb3572f02d87 Mon Sep 17 00:00:00 2001 From: Delin <45469625+DelinWorks@users.noreply.github.com> Date: Mon, 3 Jan 2022 08:55:52 +0300 Subject: [PATCH] Update CCLabel.h --- core/2d/CCLabel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/2d/CCLabel.h b/core/2d/CCLabel.h index 55ccd3dbc3..18d2501fab 100644 --- a/core/2d/CCLabel.h +++ b/core/2d/CCLabel.h @@ -786,7 +786,7 @@ protected: virtual void updateShaderProgram(); virtual void updateBMFontScale(); - void scaleFontSizeDown(float fontSize); + void scaleFontSize(float fontSize); bool setTTFConfigInternal(const TTFConfig& ttfConfig); void setBMFontSizeInternal(float fontSize); bool isHorizontalClamped(float letterPositionX, int lineIndex);