diff options
author | 2023-09-18 19:24:09 +0200 | |
---|---|---|
committer | 2023-09-18 19:24:09 +0200 | |
commit | 8eec0033dee816bfcc102fc4f511c8bfe08c14ee (patch) | |
tree | 5b247c4de81a055effaf6eb0683787141abbec16 /core/src/font.rs | |
parent | 161a971d065b3254a2f11cb374d2c94c2d67646b (diff) | |
download | iced-8eec0033dee816bfcc102fc4f511c8bfe08c14ee.tar.gz iced-8eec0033dee816bfcc102fc4f511c8bfe08c14ee.tar.bz2 iced-8eec0033dee816bfcc102fc4f511c8bfe08c14ee.zip |
Remove unnecessary `monospaced` flag in `Font`
Diffstat (limited to 'core/src/font.rs')
-rw-r--r-- | core/src/font.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/font.rs b/core/src/font.rs index 7f647847..2b68decf 100644 --- a/core/src/font.rs +++ b/core/src/font.rs @@ -12,8 +12,6 @@ pub struct Font { pub stretch: Stretch, /// The [`Style`] of the [`Font`]. pub style: Style, - /// Whether if the [`Font`] is monospaced or not. - pub monospaced: bool, } impl Font { @@ -23,13 +21,11 @@ impl Font { weight: Weight::Normal, stretch: Stretch::Normal, style: Style::Normal, - monospaced: false, }; /// A monospaced font with normal [`Weight`]. pub const MONOSPACE: Font = Font { family: Family::Monospace, - monospaced: true, ..Self::DEFAULT }; |