Browse Source

make methods protected

Jason Ayre 8 years ago
parent
commit
3b6b6a66c2
3 changed files with 6216 additions and 6216 deletions
  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

File diff suppressed because it is too large
+ 3107 - 3107
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 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;