Skip to content

Commit

Permalink
Update PropertyManager.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
thisdp authored Aug 15, 2018
1 parent 8da123f commit 2ce35c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PropertyManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ function dgsSetData(element,key,value,nocheck)
if key == "selected" then
local old,new = oldValue,value
local tabs = dgsElementData[element].tabs
triggerEvent("onDgsTabPanelTabSelect",tabs[new],new,old,tabs[new],tabs[old])
triggerEvent("onDgsTabPanelTabSelect",element,new,old,tabs[new],tabs[old])
triggerEvent("onDgsTabSelect",tabs[new],new,old,tabs[new],tabs[old])
elseif key == "tabSideSize" then
local width = dgsElementData[element].absSize[1]
local change = value[2] and value[1]*width or value[1]
Expand Down

0 comments on commit 2ce35c0

Please sign in to comment.