ports/devel/electron27/files/patch-ui_base_resource_resource__bundle.cc
Hiroki Tagato a9b2d87e04 devel/electron27: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2023-12-11 16:04:22 +09:00

11 lines
493 B
C++

--- ui/base/resource/resource_bundle.cc.orig 2023-10-19 19:59:21 UTC
+++ ui/base/resource/resource_bundle.cc
@@ -926,7 +926,7 @@ void ResourceBundle::ReloadFonts() {
}
ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
return max_scale_factor_;
#else
return GetMaxSupportedResourceScaleFactor();