mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 22:53:26 +02:00
Updated to OTCv8 3.1 rev 224
This commit is contained in:
@@ -116,6 +116,15 @@ function onContainerOpen(container, previousContainer)
|
||||
previousContainer.itemsPanel = nil
|
||||
else
|
||||
containerWindow = g_ui.createWidget('ContainerWindow', modules.game_interface.getContainerPanel())
|
||||
|
||||
-- white border flash effect
|
||||
containerWindow:setBorderWidth(2)
|
||||
containerWindow:setBorderColor("#FFFFFF")
|
||||
scheduleEvent(function()
|
||||
if containerWindow then
|
||||
containerWindow:setBorderWidth(0)
|
||||
end
|
||||
end, 300)
|
||||
end
|
||||
|
||||
containerWindow:setId('container' .. container:getId())
|
||||
|
Reference in New Issue
Block a user