     $('kan-game #webview-wrapper')?.style?.marginLeft = "#{Math.max(0, Math.floor((window.innerWidth - Math.floor(800 * factor)) / 2.0))}px"
     $('kan-game')?.style?.marginTop = '0'
 
-if !window._delay
-  adjustSize()
-else
-  setTimeout adjustSize, 500
-  setTimeout adjustSize, 2000
+adjustSize()
 
 adjustPayitem = ->
   webview = $('kan-game webview')

{config, proxy} = window
{setBounds, getBounds} = remote.require './lib/utils'
WindowManager = remote.require './lib/window'

window._delay = false

# Initial
# $('kan-game webview')?.style?.height = $('kan-game webview /deep/ object[is=browserplugin]')?.style?.height = "0px"

    else
      $('kan-game').style.flex = Math.floor(window.webviewFactor * 800)
      $('poi-app').style.flex = window.innerWidth - Math.floor(window.webviewFactor * 800)
  adjustSize()

handleTitleSet = ->
  try
