Skip to content

Commit

Permalink
gui, feat: enable hight dpi support on windows. #700
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Jun 14, 2021
1 parent 8a5cc9f commit 5cd7e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fibjs/src/gui/cef/gui.cpp
Expand Up @@ -95,6 +95,8 @@ void GuiApp::load_cef()
#else
CefString(&m_settings.resources_dir_path) = get_path("Resources");
#endif

CefEnableHighDPISupport();
}

GuiApp* g_app;
Expand Down

0 comments on commit 5cd7e69

Please sign in to comment.