mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-06 05:34:59 +00:00
Fix font size of HTML clipboard contents (#15046)
This regression is caused by 0eff8c0. It previously said `.Y` here.
I went through the diff again and found no other width/height mistake.
Closes #14762
Closes #15043
This commit is contained in:
@@ -1104,7 +1104,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
|
||||
// content, which is unexpected.
|
||||
const auto htmlData = formats == nullptr || WI_IsFlagSet(formats.Value(), CopyFormat::HTML) ?
|
||||
TextBuffer::GenHTML(bufferData,
|
||||
_actualFont.GetUnscaledSize().width,
|
||||
_actualFont.GetUnscaledSize().height,
|
||||
_actualFont.GetFaceName(),
|
||||
bgColor) :
|
||||
"";
|
||||
|
||||
Reference in New Issue
Block a user