瀏覽代碼

make methods protected

Jason Ayre 8 年之前
父節點
當前提交
3b6b6a66c2
共有 3 個文件被更改,包括 6216 次插入6216 次删除
  1. 3107 3107
      dist/preview release/babylon.d.ts
  2. 3107 3107
      dist/preview release/babylon.module.d.ts
  3. 2 2
      gui/src/controls/textBlock.ts

文件差異過大導致無法顯示
+ 3107 - 3107
dist/preview release/babylon.d.ts


文件差異過大導致無法顯示
+ 3107 - 3107
dist/preview release/babylon.module.d.ts


+ 2 - 2
gui/src/controls/textBlock.ts

@@ -116,11 +116,11 @@ module BABYLON.GUI {
             }
         }
 
-        public _parseLine(line: string='', context: CanvasRenderingContext2D): object {
+        protected _parseLine(line: string='', context: CanvasRenderingContext2D): object {
           return {text: line, width: context.measureText(line).width};
         }
 
-        public _parseLineWithTextWrapping(line: string='', context: CanvasRenderingContext2D): object {
+        protected _parseLineWithTextWrapping(line: string='', context: CanvasRenderingContext2D): object {
           var words = line.split(' ');
           var width = this._currentMeasure.width;
           var lineWidth = 0;