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/border.rs | |
| parent | bac91a6162542025676f57afc3e514b88aa65366 (diff) | |
| download | srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.tar.gz srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.zip | |
Indent doc list continuations
Diffstat (limited to 'crates/wayland/src/decoration/border.rs')
| -rw-r--r-- | crates/wayland/src/decoration/border.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/wayland/src/decoration/border.rs b/crates/wayland/src/decoration/border.rs index 9e29fe6..0d7443d 100644 --- a/crates/wayland/src/decoration/border.rs +++ b/crates/wayland/src/decoration/border.rs @@ -1,7 +1,7 @@ //! The four solid-colour strips around a decorated window's own `geometry` //! - top/bottom rendered as small rounded bitmaps (their own two outer -//! corners cut to match `titlebar::render_titlebar`'s), left/right left to -//! the caller as plain flat fills (`elements::border_side_render_element`). +//! corners cut to match `titlebar::render_titlebar`'s), left/right left to +//! the caller as plain flat fills (`elements::border_side_render_element`). use super::color::rgb_to_bgra; use super::corners::{round_bottom_corners, round_top_corners, InnerRing}; @@ -138,8 +138,8 @@ fn clip_middle_beyond_thickness(buf: &mut [u8], width: usize, radius: usize, row /// decorated window or not (a decorated window still gets its own bottom /// two corners content-masked - `RoundedCorners::BOTTOM_ONLY`, not `NONE` /// - specifically so this strip has real rounded content to meet). See -/// [`InnerRing`]'s own doc comment for why that's a different circle from -/// the titlebar-aligned one `render_border_top` sometimes needs. +/// [`InnerRing`]'s own doc comment for why that's a different circle from +/// the titlebar-aligned one `render_border_top` sometimes needs. pub fn render_border_bottom(width: u32, thickness: u32, color: (u8, u8, u8), radius: u32) -> Vec<u8> { let (width, thickness) = (width.max(1) as usize, thickness.max(1) as usize); let height = thickness.max(radius as usize).max(1); |