From b7e2ea77eaa05710aa37e40db21435717c3a9776 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Mon, 24 Aug 2015 01:27:53 +0300 Subject: [PATCH] Update context.lua --- lib/context.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/context.lua b/lib/context.lua index 28abe733..465496ba 100644 --- a/lib/context.lua +++ b/lib/context.lua @@ -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