Use Pixels for Text::size
This commit is contained in:
parent
7b8b01f560
commit
570600ce51
16 changed files with 79 additions and 78 deletions
|
|
@ -28,8 +28,8 @@ pub struct Settings<Flags> {
|
|||
|
||||
/// The text size that will be used by default.
|
||||
///
|
||||
/// The default value is 20.
|
||||
pub default_text_size: u16,
|
||||
/// The default value is `20.0`.
|
||||
pub default_text_size: f32,
|
||||
|
||||
/// If enabled, spread text workload in multiple threads when multiple cores
|
||||
/// are available.
|
||||
|
|
@ -97,7 +97,7 @@ where
|
|||
window: Default::default(),
|
||||
flags: Default::default(),
|
||||
default_font: Default::default(),
|
||||
default_text_size: 20,
|
||||
default_text_size: 20.0,
|
||||
text_multithreading: false,
|
||||
antialiasing: false,
|
||||
exit_on_close_request: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue