mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Moveable Tabbars, Stretch/Shrink Fix
Added key 'moveable' to tabbars (tabbars are ordered with margins now, not with anchors to the previous widget) If stretching is forbidden by options the mapPanel will now update when the window is resized
This commit is contained in:
@@ -22,6 +22,7 @@ function init()
|
||||
gameRootPanel = g_ui.displayUI('gameinterface.otui')
|
||||
gameRootPanel:hide()
|
||||
gameRootPanel:lower()
|
||||
gameRootPanel.onGeometryChange = updateStretchShrink
|
||||
|
||||
mouseGrabberWidget = gameRootPanel:getChildById('mouseGrabber')
|
||||
mouseGrabberWidget.onMouseRelease = onMouseGrabberRelease
|
||||
|
Reference in New Issue
Block a user