output_conf: Fixed scaling issues
This commit is contained in:
parent
a8aeba8f09
commit
3ffdf58e0f
5 changed files with 16 additions and 30 deletions
|
|
@ -125,7 +125,7 @@ where
|
|||
.space
|
||||
.output_geometry(output)
|
||||
.unwrap_or(Rectangle::from_loc_and_size((0, 0), (0, 0)));
|
||||
let scale = workspace.space.output_scale(output).unwrap();
|
||||
let scale = output.current_scale().fractional_scale();
|
||||
|
||||
let fps_overlay = fps_ui(_gpu, state, fps, output_geo, scale);
|
||||
custom_elements.push(fps_overlay.into());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue