git.lucas.co / cce-screenaver
screensaver
git clone https://git.lucas.co/cce-screenaver.git

commit79ec16e167a6c48fb6a63a93fdbcca5f0ecd5d2f
parent30c40f6371
authorLucas Galante <[email protected]>
date2026-09-24 12:57
style-audit: declare this surface's opt-out from the standard root plate

cce-ui's scripts/style-audit checks that every app stands on the
standard root plate; this crate is not a plate by design, and the
comment says why so the audit lists it as an opt-out rather than as
off-standard.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.rs b/src/main.rs
index 42c1cc5..a149d9b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -195,6 +195,7 @@ impl Application for ScreensaverApp {
     }
 
     /// Phase 6: the whole frame is one display list (background fill + the simulation quads).
+    // style-audit: opt-out a full-bleed black surface with nothing standing on it
     fn display_list(&mut self, size: LogicalSize, _scale: f64) -> Option<cce_ui::scene::paint::DisplayList> {
         use cce_ui::scene::layout::Rect;
         self.width = size.width as u32;