Cleanup: follow code-style for float suffix

This commit is contained in:
2022-01-13 12:34:28 +11:00
parent 227f0f3582
commit a7c9fb59ca
3 changed files with 9 additions and 9 deletions

View File

@@ -3012,7 +3012,7 @@ static void rna_def_text(StructRNA *srna)
RNA_def_property_float_sdna(prop, NULL, "text_size");
RNA_def_property_ui_text(prop, "Size", "Size of the text");
RNA_def_property_range(prop, 0.0, 2000);
RNA_def_property_ui_range(prop, 0.0f, 2000, 10.f, 1);
RNA_def_property_ui_range(prop, 0.0f, 2000, 10.0f, 1);
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update");
prop = RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA);