Draft styling example
This commit is contained in:
parent
bbc8f837d7
commit
2bbd395d5d
5 changed files with 298 additions and 6 deletions
|
|
@ -19,7 +19,6 @@ impl iced_native::button::Renderer for Renderer {
|
|||
) -> Self::Output {
|
||||
let is_mouse_over = bounds.contains(cursor_position);
|
||||
|
||||
// TODO: Render proper shadows
|
||||
let styling = if is_disabled {
|
||||
style.disabled()
|
||||
} else if is_mouse_over {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue