Skip to content

Commit

Permalink
修复:在office或wps表格中复制内容后剪贴板失去格式信息
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeric-X committed Oct 4, 2024
1 parent d52c3c4 commit 2288c47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ private async Task ProcessClipboard(ClipboardMetaInfomation metaInfo, Profile pr
private static bool NeedAdjust(Profile profile, ClipboardMetaInfomation metaInfo)
{
bool[] badCaseList = {
profile.Type == ProfileType.Text,
profile.Type != ProfileType.Image && metaInfo.OriginalType != ClipboardMetaInfomation.ImageType,
metaInfo.OriginalType is not null && metaInfo.OriginalType != ClipboardMetaInfomation.ImageType,
metaInfo.Files?.Length > 1,
Expand Down

0 comments on commit 2288c47

Please sign in to comment.