Skip to content

Commit

Permalink
license header added
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfyzhuang committed Mar 19, 2024
1 parent 8fa6cb3 commit 97571a4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion moxin-frontend/src/shared/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,14 @@ live_design! {

draw_bg: {
instance color: #0000,

fn pixel(self) -> vec4 {
return self.color;
}
}
}
}

#[derive(Live, LiveHook, Widget)]
pub struct Icon {
#[redraw]
#

0 comments on commit 97571a4

Please sign in to comment.