From 2c8a2affd873f96c3d5939ec8d39c715f8176bb3 Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 14 Nov 2026 03:36:11 +0000 Subject: [PATCH] Contract stubs: pn.C10 and pn.C16 markers name their writer set panels-w2 --- crates/ui-shell/src/shell/app_shell.rs | 4 ++-- crates/ui-shell/src/shell/screen_mode_button.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ui-shell/src/shell/app_shell.rs b/crates/ui-shell/src/shell/app_shell.rs index ecfc7fe8b..1183bf85c 100644 --- a/crates/ui-shell/src/shell/app_shell.rs +++ b/crates/ui-shell/src/shell/app_shell.rs @@ -284,7 +284,7 @@ pub struct AppShell<'a, S> { /// The window's title: the shell sends `WindowAction::SetTitle` when it differs from the title the viewport /// reports. Not in an embedded shell. #[prop(into)] - #[allow(dead_code)] // P3(panels-w10): pn.C10 + #[allow(dead_code)] // P3(panels-w2): pn.C10 window_title: Option, /// The name of the body region; the translated "Document" without it. #[prop(into)] @@ -423,7 +423,7 @@ impl<'a, S> AppShell<'a, S> { allow_reveal, edge_reveal, document_tabs, - window_title: _, // P3(panels-w10): pn.C10 + window_title: _, // P3(panels-w2): pn.C10 body_label, title, slots, diff --git a/crates/ui-shell/src/shell/screen_mode_button.rs b/crates/ui-shell/src/shell/screen_mode_button.rs index 7ae7b5437..585f90100 100644 --- a/crates/ui-shell/src/shell/screen_mode_button.rs +++ b/crates/ui-shell/src/shell/screen_mode_button.rs @@ -9,7 +9,7 @@ use egui::{Response, Ui}; #[must_use = "show the button with `show`"] #[derive(crate::contract::Pattern)] pub struct ScreenModeButton { - #[allow(dead_code)] // P3(panels-w10): pn.C16 + #[allow(dead_code)] // P3(panels-w2): pn.C16 mode: ScreenMode, }