Remove obsolete shadow_offset field from button::Appearance
This commit is contained in:
parent
1f46fd871b
commit
8fe7f9e435
1 changed files with 0 additions and 3 deletions
|
|
@ -399,8 +399,6 @@ pub enum Status {
|
||||||
/// The appearance of a button.
|
/// The appearance of a button.
|
||||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||||
pub struct Appearance {
|
pub struct Appearance {
|
||||||
/// The amount of offset to apply to the shadow of the button.
|
|
||||||
pub shadow_offset: Vector,
|
|
||||||
/// The [`Background`] of the button.
|
/// The [`Background`] of the button.
|
||||||
pub background: Option<Background>,
|
pub background: Option<Background>,
|
||||||
/// The text [`Color`] of the button.
|
/// The text [`Color`] of the button.
|
||||||
|
|
@ -424,7 +422,6 @@ impl Appearance {
|
||||||
impl std::default::Default for Appearance {
|
impl std::default::Default for Appearance {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
shadow_offset: Vector::default(),
|
|
||||||
background: None,
|
background: None,
|
||||||
text_color: Color::BLACK,
|
text_color: Color::BLACK,
|
||||||
border: Border::default(),
|
border: Border::default(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue