Expand the hit area area around tab close icons

This commit is contained in:
Nathan Sobo
2021-09-18 10:37:32 -07:00
parent 928779154e
commit c7e2b6dacb
3 changed files with 14 additions and 1 deletions
+1
View File
@@ -292,6 +292,7 @@ impl Pane {
}
},
)
.with_padding(Padding::uniform(4.))
.with_cursor_style(CursorStyle::PointingHand)
.on_click(move |cx| {
cx.dispatch_action(CloseItem(item_id))