Skip to content

Commit 16b8126

Browse files
committed
修正多显示器DPI不一致时更换皮肤对话框预览图中字体大小不正确的问题
1 parent aea3dd9 commit 16b8126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TrafficMonitor/SkinFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void CSkinFile::Load(const wstring& file_path)
9292
m_font.DeleteObject();
9393

9494
//创建字体对象
95-
m_skin_info.font_info.Create(m_font);
95+
m_skin_info.font_info.Create(m_font, theApp.GetDpi());
9696

9797
wstring path_dir = file_path_helper.GetDir();
9898

0 commit comments

Comments
 (0)