mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
text: Reset cursor opacity when unmapping
Otherwise we might get mapped again with a half-transparent cursor.
This commit is contained in:
parent
108aac9ee3
commit
c38c5c4ce1
@ -2062,6 +2062,8 @@ gtk_text_unmap (GtkWidget *widget)
|
||||
_gtk_text_handle_set_mode (priv->text_handle,
|
||||
GTK_TEXT_HANDLE_MODE_NONE);
|
||||
|
||||
priv->cursor_alpha = 1.0;
|
||||
|
||||
GTK_WIDGET_CLASS (gtk_text_parent_class)->unmap (widget);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user