From: Ian Jackson Date: Thu, 19 May 2022 12:17:46 +0000 (+0100) Subject: dice: Note a todo X-Git-Tag: otter-1.1.0~66 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2a3cf8f2ce09eb3f562155e8c7ffcd201a322121;p=otter.git dice: Note a todo Signed-off-by: Ian Jackson --- diff --git a/src/dice.rs b/src/dice.rs index 524d8d13..79833f6f 100644 --- a/src/dice.rs +++ b/src/dice.rs @@ -506,6 +506,9 @@ impl InertPieceTrait for Die { default() }; + // todo: Ideally we would use text_options.start_element + // but I don't see how to readily make a template suitable for that + let tc = OverlayTemplateContext { label_text: label, label_options: &self.text_options,