Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions novel/VisNovel/src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -716,4 +716,4 @@ end
local status, msg = xpcall(main, __G__TRACKBACK__)
if not status then
error(msg)
end
end