Remove hardcoded HiDPI scaling
This commit is contained in:
parent
1e021fd034
commit
2026048053
2 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,8 @@ use wgpu_glyph::{GlyphCruncher, Section};
|
|||
use std::cell::RefCell;
|
||||
use std::f32;
|
||||
|
||||
pub const DEFAULT_TEXT_SIZE : f32 = 20.0*3.0;
|
||||
// TODO: Obtain from renderer configuration
|
||||
const DEFAULT_TEXT_SIZE: f32 = 20.0;
|
||||
|
||||
impl text::Renderer for Renderer {
|
||||
fn node(&self, text: &Text) -> Node {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue