Commit dbdf8a37 authored by limingzhe's avatar limingzhe

fix: scale

parent 97b89194
...@@ -854,6 +854,7 @@ cc.Class({ ...@@ -854,6 +854,7 @@ cc.Class({
const n = new cc.Node(); const n = new cc.Node();
n.scale = 0.25; n.scale = 0.25;
n.scale *= groundBg.width / ground.width;
n.parent = ground; n.parent = ground;
n.active = false; n.active = false;
......
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