1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-06-17 18:59:59 +00:00

Disabled setVisible during render if not focused in multishell

This commit is contained in:
LDDestroier 2020-01-12 23:52:52 -05:00 committed by GitHub
parent ec3ae28af9
commit 20437ea4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,11 @@ windont.render = function(onlyX1, onlyX2, onlyY, ...)
end end
end end
if windont.useSetVisible and bT.setVisible then if windont.useSetVisible and bT.setVisible then
if not multishell then
bT.setVisible(true) bT.setVisible(true)
elseif multishell.getFocus() == multishell.getCurrent() then
bT.setVisible(true)
end
end end
end end