Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Classes/EditControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ function EditClass:OnKeyDown(key, doubleClick)
self:ReplaceSel("")
end
end
elseif key == "v" and ctrl or key == "RIGHTBUTTON" and self.Object:IsMouseOver() then
elseif key == "v" and ctrl or key == "RIGHTBUTTON" and self.Object:IsMouseOver() and not self.disableRightClickPaste then
local text = Paste()
if text then
if self.pasteFilter then
Expand Down
1 change: 1 addition & 0 deletions src/Classes/NotesTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Below are some common color codes PoB uses: ]]
self.controls.default = new("ButtonControl", {"TOPLEFT",self.controls.intelligence,"TOPLEFT"}, {120, 0, 100, 18}, "^7DEFAULT", function() self:SetColor("^7") end)

self.controls.edit = new("EditControl", {"TOPLEFT",self.controls.fire,"TOPLEFT"}, {0, 48, 0, 0}, "", nil, "^%C\t\n", nil, nil, 16, true)
self.controls.edit.disableRightClickPaste = true
self.controls.edit.width = function()
return self.width - 16
end
Expand Down
Loading