소스 검색

Quick fix for GUI font

David Catuhe 7 년 전
부모
커밋
b7e156d11a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gui/src/2D/controls/control.ts

+ 1 - 1
gui/src/2D/controls/control.ts

@@ -960,7 +960,7 @@ export class Control {
     /** @hidden */
     protected _applyStates(context: CanvasRenderingContext2D): void {
         if (this._isFontSizeInPercentage) {
-            this._resetFontCache();
+            this._fontSet = true;
         }
 
         if (this._fontSet) {