diff --git a/novel/VisNovel/src/main.lua b/novel/VisNovel/src/main.lua index e820ebf5..ad90fb4a 100644 --- a/novel/VisNovel/src/main.lua +++ b/novel/VisNovel/src/main.lua @@ -137,7 +137,7 @@ function ScreenReSize(width,height) if targetPlatform == kTargetWindows then glview:setFrameSize(width , height) end - glview:setDesignResolutionSize(width , height, cc.ResolutionPolicy.EXACT_FIT) + glview:setDesignResolutionSize(width , height, cc.ResolutionPolicy.SHOW_ALL)--edited by Sina, This code works for Screen resising with blackbar end WIN_WIDTH = width @@ -716,4 +716,4 @@ end local status, msg = xpcall(main, __G__TRACKBACK__) if not status then error(msg) -end \ No newline at end of file +end