Skip to content

Commit

Permalink
Improve TextArea focus
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-obrebski committed Nov 22, 2024
1 parent 4250bb4 commit abebac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/lua/gui/widgets/text_area.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function TextArea:scrollToCursor(cursor_offset)
end

function TextArea:getPreferredFocusState()
return self.parent_view and self.parent_view.focus or true
return true
end

function TextArea:postUpdateLayout()
Expand Down

0 comments on commit abebac7

Please sign in to comment.