mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
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/
11 lines
573 B
C++
11 lines
573 B
C++
--- ui/gfx/canvas_skia.cc.orig 2025-03-24 20:50:14 UTC
|
|
+++ ui/gfx/canvas_skia.cc
|
|
@@ -218,7 +218,7 @@ void Canvas::DrawStringRectWithFlags(const std::u16str
|
|
Range range = StripAcceleratorChars(flags, &adjusted_text);
|
|
bool elide_text = ((flags & NO_ELLIPSIS) == 0);
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// On Linux, eliding really means fading the end of the string. But only
|
|
// for LTR text. RTL text is still elided (on the left) with "...".
|
|
if (elide_text) {
|