mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 11:09:21 +01:00
Фига баг занятный
This commit is contained in:
parent
56f03d0dbe
commit
b4f0244bd5
@ -136,7 +136,7 @@ local function newSidebarItem(y, textColor, text, path)
|
|||||||
end
|
end
|
||||||
|
|
||||||
object.eventHandler = function(mainContainer, object, eventData)
|
object.eventHandler = function(mainContainer, object, eventData)
|
||||||
if eventData[1] == "touch" then
|
if eventData[1] == "touch" and object.onTouch then
|
||||||
object.onTouch(eventData)
|
object.onTouch(eventData)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -217,7 +217,7 @@ updateSidebar = function()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if #MineOSCore.properties.FTPConnections > 0 then
|
if MineOSNetwork.internetProxy and #MineOSCore.properties.FTPConnections > 0 then
|
||||||
y = y + 1
|
y = y + 1
|
||||||
newSidebarItem(y, 0x3C3C3C, MineOSCore.localization.networkFTPConnections)
|
newSidebarItem(y, 0x3C3C3C, MineOSCore.localization.networkFTPConnections)
|
||||||
y = y + 1
|
y = y + 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user