mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 07:15:55 +02:00
more scripting features (dynamic fields)
This commit is contained in:
@@ -3,8 +3,7 @@ window#infoWindow:
|
||||
size: [244, 221]
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
onLoad: self:getParent():lock(self)
|
||||
onDestroy: self:getParent():unlock(self)
|
||||
onLoad: self.locked = true
|
||||
|
||||
panel#infoPanel:
|
||||
skin: flatPanel
|
||||
@@ -60,4 +59,4 @@ window#infoWindow:
|
||||
anchors.top: parent.top
|
||||
margin.top: 191
|
||||
margin.left: 188
|
||||
onClick: self:getParent():destroy()
|
||||
onClick: self.parent:destroy()
|
||||
|
Reference in New Issue
Block a user