mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
11 lines
573 B
C++
11 lines
573 B
C++
--- ui/gfx/canvas_skia.cc.orig 2025-04-16 18:18:42 UTC
|
|
+++ ui/gfx/canvas_skia.cc
|
|
@@ -219,7 +219,7 @@ void Canvas::DrawStringRectWithFlags(std::u16string_vi
|
|
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) {
|