Commit f605b35a authored by rockyl's avatar rockyl

修复

parent f19a8f72
...@@ -942,10 +942,11 @@ export class Stage extends Container { ...@@ -942,10 +942,11 @@ export class Stage extends Container {
s.divHeight = whObj.h; s.divHeight = whObj.h;
s.divWidth = whObj.w; s.divWidth = whObj.w;
s.width = s.viewRect.width;
s.height = s.viewRect.height;
s.renderObj.resize(s.divWidth, s.divHeight); s.renderObj.resize(s.divWidth, s.divHeight);
s.setAlign(); s.setAlign();
s.width = s.viewRect.width;
s.height = s.viewRect.height;
this['adjustProxy'].makeDirty();
s.render(); s.render();
}; };
......
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