Skip to content
Snippets Groups Projects
Commit 8b013333 authored by Alex Ksandra's avatar Alex Ksandra
Browse files

Make Classic UI set handle resolution change.

parent a009ad08
No related branches found
No related tags found
No related merge requests found
...@@ -99,6 +99,10 @@ function _M:setupMinimap(level) ...@@ -99,6 +99,10 @@ function _M:setupMinimap(level)
level.map._map:setupMiniMapGridSize(4) level.map._map:setupMiniMapGridSize(4)
end end
function _M:handleResolutionChange(w, h, ow, oh)
self:resizeIconsHotkeysToolbar()
end
function _M:resizeIconsHotkeysToolbar() function _M:resizeIconsHotkeysToolbar()
local h local h
if game.show_npc_list then if game.show_npc_list then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment