I've changed Show() to
Code:
function show()
connect(g_app, { onClose = tryExit })
modules.client_background.hide()
gameRootPanel:show()
gameRootPanel:focus()
gameMapPanel:followCreature(g_game.getLocalPlayer())
setupViewMode(1)
updateStretchShrink
And
Code:
elseif mode == 1 then
gameMapPanel:setKeepAspectRatio(false)
gameMapPanel:setLimitVisibleRange(true)
gameMapPanel:setZoom(9)
gameMapPanel:setVisibleDimension({ width = 15, height = 11 })
So i can cut the right and left pannel, but now there is a absurd zoom
And everytime i try to remove that zoom i got some parts of screen black, like this:
https://i.imgur.com/Doq9Snv.png
https://i.imgur.com/jZZsg2Q.jpg
Did u know how set a good zoom, without left and right pannel and without this dark squares?