Render a close tab button on tab hover

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-04-27 11:58:59 -06:00
co-authored by Max Brunsfeld
parent bb95d58c79
commit eca9f495a1
8 changed files with 96 additions and 71 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ pub struct MouseEventHandler {
#[derive(Clone, Copy, Debug, Default)]
pub struct MouseState {
hovered: bool,
clicked: bool,
pub hovered: bool,
pub clicked: bool,
}
impl MouseEventHandler {