Skip to content

Commit

Permalink
Merge pull request #2012 from thegrb93/fix-e2-paste
Browse files Browse the repository at this point in the history
Fixed e2 editor paste limit
  • Loading branch information
Sparky authored Jan 4, 2020
2 parents daff6e4 + 0f6f302 commit d0b693a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wire/client/text_editor/texteditor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ end

function EDITOR:_OnTextChanged()
local ctrlv = false
local text = self.TextEntry:GetValue()
local text = self.TextEntry:GetText()
self.TextEntry:SetText("")

if (input.IsKeyDown(KEY_LCONTROL) or input.IsKeyDown(KEY_RCONTROL)) and not (input.IsKeyDown(KEY_LALT) or input.IsKeyDown(KEY_RALT)) then
Expand Down

0 comments on commit d0b693a

Please sign in to comment.