Draft styling example

This commit is contained in:
Héctor Ramón Jiménez 2020-01-06 18:44:45 +01:00
parent bbc8f837d7
commit 2bbd395d5d
5 changed files with 298 additions and 6 deletions

View file

@ -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 {