Commit 230ffcc9 authored by 范雪寒's avatar 范雪寒

feat: 大屏触摸问题

parent f1c7d15f
...@@ -64,6 +64,9 @@ cc.Class({ ...@@ -64,6 +64,9 @@ cc.Class({
sy = frameSize.height / this._designSize.height; sy = frameSize.height / this._designSize.height;
this._mapScaleMin = Math.min(sx, sy) * this._cocosScale; this._mapScaleMin = Math.min(sx, sy) * this._cocosScale;
this._mapScaleMax = Math.max(sx, sy) * this._cocosScale; this._mapScaleMax = Math.max(sx, sy) * this._cocosScale;
cc.director._scene.width = frameSize.width;
cc.director._scene.height = frameSize.height;
}, },
......
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
"packages": "packages", "packages": "packages",
"name": "play", "name": "play",
"id": "9af72fd2-44a6-4131-8ea3-3e1b3fa22231", "id": "9af72fd2-44a6-4131-8ea3-3e1b3fa22231",
"version": "2.4.4", "version": "2.4.5",
"isNew": false "isNew": false
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment