Ну-ка, чекнем эти кнопочки

This commit is contained in:
Igor Timofeev
2018-12-04 19:13:07 +03:00
parent a16520401b
commit cbd4e4f962

View File

@@ -1368,7 +1368,7 @@ newPublicationInfo = function(file_id)
if x + textLength + 4 > textDetailsContainer.width - 4 then
x, y = 3, y + 2
end
local button = textDetailsContainer:addChild(GUI.roundedButton(x, y, textLength + 2, 1, 0xC3C3C3, 0xFFFFFF, 0x2D2D2D, 0xFFFFFF, dependency.publication_name))
local button = textDetailsContainer:addChild(GUI.tagButton(x, y, textLength + 2, 1, 0xC3C3C3, 0xFFFFFF, 0x2D2D2D, 0xFFFFFF, dependency.publication_name))
button.onTouch = function()
newPublicationInfo(publication.all_dependencies[i])
end