Skip to content

Commit

Permalink
Update Window.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
wilyt1 authored Aug 24, 2024
1 parent f800eb2 commit b56f77a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cmdr/CmdrClient/CmdrInterface/Window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,9 @@ function Window:LoseFocus(submit)

self:ClearHistoryState()

if Gui.Visible and not GuiService.MenuIsOpen then
if Gui.Visible and not GuiService.MenuIsOpen and not UserInputService.TouchEnabled then
-- self:SetEntryText("")
if not UserInputService.TouchEnabled then
Entry.TextBox:CaptureFocus()
end
Entry.TextBox:CaptureFocus()
elseif GuiService.MenuIsOpen and Gui.Visible then
self:Hide()
end
Expand Down

0 comments on commit b56f77a

Please sign in to comment.