mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
ui-egui: keep paragraph_values' doc comment on it
This commit is contained in:
1 parent
c06f404773
commit
573984f5ed
1 file changed
+1
-1
@@ -161,7 +161,6 @@ pub(crate) fn character_values(style: &CharStyle) -> CharacterValues {
|
||||
values
|
||||
}
|
||||
|
||||
/// The values the Paragraph controls show for `style`.
|
||||
/// The engine's `digits` name of a digit style.
|
||||
pub(crate) fn digit_name(d: Digits) -> &'static str {
|
||||
match d {
|
||||
@@ -180,6 +179,7 @@ pub(crate) fn digit_name(d: Digits) -> &'static str {
|
||||
}
|
||||
}
|
||||
|
||||
/// The values the Paragraph controls show for `style`.
|
||||
pub(crate) fn paragraph_values(style: &ParagraphStyle) -> ParagraphValues {
|
||||
use photocraft_doc::text::TextDirection as D;
|
||||
let mut values = ParagraphValues::default();
|
||||
|
||||
Reference in new issue
Block a user