14 lines
523 B
C++
14 lines
523 B
C++
$NetBSD$
|
|
|
|
--- ui/gfx/canvas_skia.cc.orig 2020-07-15 18:56:34.000000000 +0000
|
|
+++ ui/gfx/canvas_skia.cc
|
|
@@ -206,7 +206,7 @@ void Canvas::DrawStringRectWithFlags(con
|
|
Range range = StripAcceleratorChars(flags, &adjusted_text);
|
|
bool elide_text = ((flags & NO_ELLIPSIS) == 0);
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_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) {
|