mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
Fixed issue #24
This commit is contained in:
@@ -25,6 +25,8 @@ function init()
|
||||
minimapButton:setOn(true)
|
||||
|
||||
minimapWindow = g_ui.loadUI('minimap.otui', modules.game_interface.getRightPanel())
|
||||
minimapWindow:setContentMinimumHeight(64)
|
||||
minimapWindow:setContentMaximumHeight(256)
|
||||
|
||||
minimapWidget = minimapWindow:recursiveGetChildById('minimap')
|
||||
g_mouse.bindAutoPress(minimapWidget, compassClick, nil, MouseRightButton)
|
||||
|
||||
Reference in New Issue
Block a user