renderer: use correct scaling for toplevel highlights
This commit is contained in:
parent
d8666b484e
commit
04b03272d6
2 changed files with 14 additions and 3 deletions
|
|
@ -368,7 +368,7 @@ impl Renderer<'_> {
|
|||
return;
|
||||
};
|
||||
let color = self.state.theme.colors.highlight.get();
|
||||
self.base.fill_boxes(slice::from_ref(bounds), &color);
|
||||
self.base.fill_scaled_boxes(slice::from_ref(bounds), &color);
|
||||
}
|
||||
|
||||
pub fn render_surface(&mut self, surface: &WlSurface, x: i32, y: i32, bounds: Option<&Rect>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue