aboutsummaryrefslogtreecommitdiff
path: root/src/layout/focus_ring.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-05-03 21:49:47 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-03 21:49:47 +0400
commit74996a2416712f6b6e00c4b216627feda3ae518d (patch)
treefc7c0271f1aeec99dac8299706d5e298c71adc3b /src/layout/focus_ring.rs
parent8ab50f9d1ca5795f4eef84ad423dc0d63d990b98 (diff)
downloadniri-74996a2416712f6b6e00c4b216627feda3ae518d.tar.gz
niri-74996a2416712f6b6e00c4b216627feda3ae518d.tar.bz2
niri-74996a2416712f6b6e00c4b216627feda3ae518d.zip
Make BorderRenderElement scale-agnostic
Diffstat (limited to 'src/layout/focus_ring.rs')
-rw-r--r--src/layout/focus_ring.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layout/focus_ring.rs b/src/layout/focus_ring.rs
index 18b5d5ca..757b2085 100644
--- a/src/layout/focus_ring.rs
+++ b/src/layout/focus_ring.rs
@@ -201,7 +201,6 @@ impl FocusRing {
GradientRelativeTo::WorkspaceView => view_rect,
};
border.update(
- scale,
Rectangle::from_loc_and_size(location, size),
gradient_area,
gradient.from.into(),
@@ -214,7 +213,6 @@ impl FocusRing {
Some(border.clone().into())
} else if self.radius != CornerRadius::default() {
border.update(
- scale,
Rectangle::from_loc_and_size(location, size),
full_rect,
color.into(),