Skip to content

Commit

Permalink
init dpi in cntpart_ graph
Browse files Browse the repository at this point in the history
  • Loading branch information
qPCR4vir committed May 26, 2024
1 parent 0887ecc commit 429c1c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/gui/detail/virtual_keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ namespace nana::detail
langs_(langs),
mode_(mode),
behave_(behave),
im_(_m_default_im())
im_(_m_default_im()),
cntpart_{.graph=paint::graphics(api::window_dpi(wd))}
{
cntpart_.lang = im_->lang();

Expand Down

0 comments on commit 429c1c8

Please # to comment.