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
1 changed files with 5 additions and 1 deletions

View File

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