diff options
| author | srdusr <[email protected]> | 2026-08-30 20:41:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2026-08-30 20:41:00 +0200 |
| commit | f2f9ed1b3f9c49b323ce591eb72a406058d324a4 (patch) | |
| tree | 12a53c9c527c0a63a4d93ed197af3f9edf2fca79 /crates/wayland/src/decoration/corners.rs | |
| parent | bac91a6162542025676f57afc3e514b88aa65366 (diff) | |
| download | srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.tar.gz srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.zip | |
Indent doc list continuations
Diffstat (limited to 'crates/wayland/src/decoration/corners.rs')
| -rw-r--r-- | crates/wayland/src/decoration/corners.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/wayland/src/decoration/corners.rs b/crates/wayland/src/decoration/corners.rs index d3ec611..bec4253 100644 --- a/crates/wayland/src/decoration/corners.rs +++ b/crates/wayland/src/decoration/corners.rs @@ -277,14 +277,14 @@ fn scale_pixel(buf: &mut [u8], width: usize, x: usize, y: usize, mask: f32) { /// cut anything *inside* it - so the strip's own "extra" rows (past its /// nominal `border_width`, present whenever `corner_radius > border_width` /// - see `render_border_top`'s own doc comment) stayed a solid *filled* -/// quarter-disk out to the centre column/row, then hit `clip_middle_ +/// quarter-disk out to the centre column/row, then hit `clip_middle_ /// beyond_thickness`'s hard, unblended rectangular cut at exactly column/ -/// row `radius` - which is essentially the disk's own *most opaque* -/// point (dead centre, mask ~1.0), not somewhere the curve had already -/// faded out. The result: a solid wedge of border colour with two straight -/// inner edges meeting the titlebar/content at a right angle, not a -/// uniform-width curved ring - confirmed live, zoomed: a clean rectangular -/// step, not a blend, reported as "squares on the inside corners." +/// row `radius` - which is essentially the disk's own *most opaque* +/// point (dead centre, mask ~1.0), not somewhere the curve had already +/// faded out. The result: a solid wedge of border colour with two straight +/// inner edges meeting the titlebar/content at a right angle, not a +/// uniform-width curved ring - confirmed live, zoomed: a clean rectangular +/// step, not a blend, reported as "squares on the inside corners." /// /// The fix: cut *this* pixel wherever it falls within `border_width` of /// the *same* shared centre `blend_corner_pixel` already cut around -- |