Commit 4127b833 authored by rockyl's avatar rockyl

修复SHOW_ALL模式

parent 6c20d8ed
......@@ -228,9 +228,7 @@ export default class RenderContext {
//scale
switch (scaleMode) {
case ScaleMode.SHOW_ALL:
let scale = Math.max(scaleX, scaleY);
scaleX = scaleY = scale;
break;
case ScaleMode.NO_SCALE:
scaleX = scaleY = 1;
......
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