Add border_width and border_color to Quad
This commit is contained in:
parent
649d72e7de
commit
9ab7c47dc7
17 changed files with 180 additions and 128 deletions
|
|
@ -63,6 +63,8 @@ mod circle {
|
|||
bounds: layout.bounds(),
|
||||
background: Background::Color(Color::BLACK),
|
||||
border_radius: self.radius,
|
||||
border_width: 0,
|
||||
border_color: Color::TRANSPARENT,
|
||||
},
|
||||
MouseCursor::OutOfBounds,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ impl Sandbox for Tour {
|
|||
scroll: scrollable::State::new(),
|
||||
back_button: button::State::new(),
|
||||
next_button: button::State::new(),
|
||||
debug: false,
|
||||
debug: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue