From eacaa2cf9cc0862020fd85c467ac6db772f476cd Mon Sep 17 00:00:00 2001 From: WanderWang Date: Fri, 17 Oct 2014 15:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/egret/context/display/HTML5StageText.ts | 2 +- src/egret/context/renderer/HTML5CanvasRenderer.ts | 2 +- src/egret/context/renderer/WebGLRenderer.ts | 2 +- tools/templates/empty/egretProperties.json | 2 +- tools/templates/gui/egretProperties.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index e39bbe63e9..c6dfb3a6cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "egret", - "version": "1.1.0", + "version": "1.1.1", "private": true, "author":"egret-labs", "scripts": { diff --git a/src/egret/context/display/HTML5StageText.ts b/src/egret/context/display/HTML5StageText.ts index f2c610c82d..736be288fb 100644 --- a/src/egret/context/display/HTML5StageText.ts +++ b/src/egret/context/display/HTML5StageText.ts @@ -197,7 +197,7 @@ module egret { if (!stageDelegateDiv) { stageDelegateDiv = egret.Browser.getInstance().$new("div"); stageDelegateDiv.id = "StageDelegateDiv"; - stageDelegateDiv.style.position = "absolute"; +// stageDelegateDiv.style.position = "absolute"; var container = document.getElementById(egret.StageDelegate.canvas_div_name); container.appendChild(stageDelegateDiv); stageDelegateDiv.transforms(); diff --git a/src/egret/context/renderer/HTML5CanvasRenderer.ts b/src/egret/context/renderer/HTML5CanvasRenderer.ts index e2d5d4d8ce..a413ec38d8 100644 --- a/src/egret/context/renderer/HTML5CanvasRenderer.ts +++ b/src/egret/context/renderer/HTML5CanvasRenderer.ts @@ -91,7 +91,7 @@ module egret { canvas.height = egret.MainContext.instance.stage.stageHeight; //stageH canvas.style.width = container.style.width; canvas.style.height = container.style.height; - canvas.style.position = "absolute"; +// canvas.style.position = "absolute"; container.appendChild(canvas); } return canvas; diff --git a/src/egret/context/renderer/WebGLRenderer.ts b/src/egret/context/renderer/WebGLRenderer.ts index a09fa7298d..46626c85a5 100644 --- a/src/egret/context/renderer/WebGLRenderer.ts +++ b/src/egret/context/renderer/WebGLRenderer.ts @@ -95,7 +95,7 @@ module egret { canvas.height = egret.MainContext.instance.stage.stageHeight; //stageH canvas.style.width = container.style.width; canvas.style.height = container.style.height; - canvas.style.position = "absolute"; +// canvas.style.position = "absolute"; container.appendChild(canvas); } return canvas; diff --git a/tools/templates/empty/egretProperties.json b/tools/templates/empty/egretProperties.json index 53ac8f7e66..62b5c1acdf 100644 --- a/tools/templates/empty/egretProperties.json +++ b/tools/templates/empty/egretProperties.json @@ -10,5 +10,5 @@ ] }, - "egret_version":"1.1.0" + "egret_version":"1.1.1" } diff --git a/tools/templates/gui/egretProperties.json b/tools/templates/gui/egretProperties.json index 061539bff1..65dbe396a6 100644 --- a/tools/templates/gui/egretProperties.json +++ b/tools/templates/gui/egretProperties.json @@ -13,5 +13,5 @@ ] }, - "egret_version":"1.1.0" + "egret_version":"1.1.1" }