chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe2816
)
dice: Note a todo
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 12:17:46 +0000
(13:17 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 18:58:10 +0000
(19:58 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/dice.rs
patch
|
blob
|
history
diff --git
a/src/dice.rs
b/src/dice.rs
index 524d8d13ea460a2d6487f2fb5775141e5c4049fc..79833f6f52a55bb21563dba63492399abd6b021a 100644
(file)
--- 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,