fix: keyboard navigation on attachments

seems to prevent button activation
This commit is contained in:
Evangelos Paterakis 2023-01-05 05:47:19 +02:00
parent 7f729ef6a6
commit 26ce911394
No known key found for this signature in database
GPG Key ID: FE5185F095BFC8C9
1 changed files with 1 additions and 3 deletions

View File

@ -24,9 +24,7 @@ public class Tooth.Widgets.Attachment.Item : Adw.Bin {
badge.add_css_class ("osd");
badge.add_css_class ("heading");
overlay = new Overlay () {
can_focus = false // Double focus on overlay and button
};
overlay = new Overlay ();
overlay.child = button;
overlay.add_overlay (badge);