forked from AuroraMiddleware/gtk
Merge branch 'text-node-tweak' into 'master'
textview: Tweak render nodes See merge request GNOME/gtk!3362
This commit is contained in:
commit
52aea624a6
@ -4160,6 +4160,9 @@ gtk_text_layout_snapshot (GtkTextLayout *layout,
|
||||
if (line_list == NULL)
|
||||
return; /* nothing on the screen */
|
||||
|
||||
gtk_snapshot_translate (snapshot, &GRAPHENE_POINT_INIT (0, offset_y));
|
||||
offset_y = 0;
|
||||
|
||||
cursor_snapshot = gtk_snapshot_new ();
|
||||
|
||||
crenderer = gsk_pango_renderer_acquire ();
|
||||
|
Loading…
Reference in New Issue
Block a user