1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

fixup! feat(core/ui): add page counter to paginated blobs

This commit is contained in:
Ioan Bizău 2024-11-20 09:18:16 +01:00
parent 95a874f157
commit 8313c30d5a

View File

@ -33,11 +33,10 @@ impl FormattedText {
}
pub(crate) fn layout_content(&self, sink: &mut dyn LayoutSink) -> LayoutFit {
self.op_layout
.layout_ops(self.char_offset, Offset::y(self.y_offset), sink)
self.layout_content_with_offset(sink, self.char_offset, self.y_offset)
}
pub(crate) fn layout_content_with_offset(
fn layout_content_with_offset(
&self,
sink: &mut dyn LayoutSink,
char_offset: usize,