diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-06-18 12:19:23 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-06-18 14:01:34 +0300 |
| commit | 66202992c9536c0e01395813f9a611aa111e5ded (patch) | |
| tree | f76155ad6b1c49c7d409db776441d4cf4ae25f15 /src/layout/focus_ring.rs | |
| parent | eb59b10050d5806dd6dd42cfb9e93e1b65a24d4f (diff) | |
| download | niri-66202992c9536c0e01395813f9a611aa111e5ded.tar.gz niri-66202992c9536c0e01395813f9a611aa111e5ded.tar.bz2 niri-66202992c9536c0e01395813f9a611aa111e5ded.zip | |
Fix blurry rounded corners on high scales
Diffstat (limited to 'src/layout/focus_ring.rs')
| -rw-r--r-- | src/layout/focus_ring.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/focus_ring.rs b/src/layout/focus_ring.rs index e7c0388b..97a1b75a 100644 --- a/src/layout/focus_ring.rs +++ b/src/layout/focus_ring.rs @@ -184,6 +184,7 @@ impl FocusRing { Rectangle::from_loc_and_size(full_rect.loc - loc, full_rect.size), rounded_corner_border_width, radius, + scale as f32, ); } } else { @@ -203,6 +204,7 @@ impl FocusRing { Rectangle::from_loc_and_size(full_rect.loc - self.locations[0], full_rect.size), rounded_corner_border_width, radius, + scale as f32, ); } |
