fix resize bug
Merge pull request #18 from wuxiaorui86/master

Auto merge by kpm server