[evince/wip/gpoo/gtk4-rebase-port: 87/96] ev-view: fix rendering of text selection with night mode




commit 9a558db624469829a591d2f0f1fad90409b24b60
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Tue Dec 7 23:19:14 2021 +0800

    ev-view: fix rendering of text selection with night mode
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>

 libview/ev-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 466384a25..1719366a9 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -7296,7 +7296,7 @@ draw_one_page (EvView       *view,
                                                                           page,
                                                                           view->scale);
                if (selection_texture) {
-                       draw_surface (snapshot, selection_texture, &point, &area, inverted);
+                       draw_surface (snapshot, selection_texture, &point, &area, false);
                        return;
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]