|
|
@ -236,8 +236,9 @@ local function Panel_end_drag(self, frame, success)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
self:setFocus(false)
|
|
|
|
self:setFocus(false)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
local resize_edge = self.resize_edge
|
|
|
|
Panel_update_frame(self, frame, true)
|
|
|
|
Panel_update_frame(self, frame, true)
|
|
|
|
if self.resize_edge then
|
|
|
|
if resize_edge then
|
|
|
|
if self.on_resize_end then self.on_resize_end(success) end
|
|
|
|
if self.on_resize_end then self.on_resize_end(success) end
|
|
|
|
else
|
|
|
|
else
|
|
|
|
if self.on_drag_end then self.on_drag_end(success) end
|
|
|
|
if self.on_drag_end then self.on_drag_end(success) end
|
|
|
|