1
0
Fork 0
forked from wry/wry

tree: move output scale to global

This commit is contained in:
Julian Orth 2024-02-16 19:15:03 +01:00
parent 0ba8648844
commit d4fc672fb3
11 changed files with 16 additions and 17 deletions

View file

@ -139,7 +139,7 @@ impl Renderer<'_> {
let c = theme.colors.attention_requested_background.get();
self.base
.fill_boxes2(&rd.attention_requested_workspaces, &c, x, y);
let scale = output.preferred_scale.get();
let scale = output.global.preferred_scale.get();
for title in &rd.titles {
let (x, y) = self.base.scale_point(x + title.tex_x, y + title.tex_y);
self.base