Update context.lua

This commit is contained in:
Igor Timofeev 2015-08-24 01:27:53 +03:00
parent 7b3a0ca890
commit b7e2ea77ea

View File

@ -76,7 +76,7 @@ function context.menu(x, y, ...)
--Рисуем сокращение
if data[i][3] then gpu.set(x + width - 2 - unicode.len(data[i][3]), yPos, data[i][3]) end
newObj("Elements", i, x, yPos, x + width - 1, yPos)
if not data[i][2] then newObj("Elements", i, x, yPos, x + width - 1, yPos) end
end
end