Skip to content

Commit

Permalink
Fixed the ticket frame...
Browse files Browse the repository at this point in the history
  • Loading branch information
siouxst committed Aug 22, 2018
1 parent 93b982d commit dc9c04d
Showing 1 changed file with 36 additions and 24 deletions.
60 changes: 36 additions & 24 deletions Frames/MangFrames_SectionTicket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function MangAdmin:CreateTicketSection()
}
})

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe1",
JustifyH = "LEFT",
group = "ticket",
Expand All @@ -351,10 +351,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe2",
group = "ticket",
parent = ma_midframe,
Expand All @@ -373,10 +374,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe3",
group = "ticket",
parent = ma_midframe,
Expand All @@ -395,10 +397,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe4",
group = "ticket",
parent = ma_midframe,
Expand All @@ -417,10 +420,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe5",
group = "ticket",
parent = ma_midframe,
Expand All @@ -439,10 +443,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe6",
group = "ticket",
parent = ma_midframe,
Expand All @@ -461,10 +466,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe7",
group = "ticket",
parent = ma_midframe,
Expand All @@ -483,10 +489,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe8",
group = "ticket",
parent = ma_midframe,
Expand All @@ -505,10 +512,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe9",
group = "ticket",
parent = ma_midframe,
Expand All @@ -527,10 +535,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe10",
group = "ticket",
parent = ma_midframe,
Expand All @@ -549,10 +558,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe11",
group = "ticket",
parent = ma_midframe,
Expand All @@ -571,10 +581,11 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

FrameLib:BuildButton({
button = FrameLib:BuildButton({
name = "ma_ticketscrollframe12",
group = "ticket",
parent = ma_midframe,
Expand All @@ -593,7 +604,8 @@ function MangAdmin:CreateTicketSection()
width = 440,
height = 16
},
script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
--script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}
})
button.script = {{"OnShow", function() button:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}}

end

0 comments on commit dc9c04d

Please sign in to comment.