mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 00:34:25 +00:00
Contract stubs: pn.C10 and pn.C16 markers name their writer set panels-w2
This commit is contained in:
@@ -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<String>,
|
||||
/// 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,
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user