Skip to content

Commit e981c7b

Browse files
committed
Clarify docs
1 parent 9584a78 commit e981c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_text/src/input.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ impl Default for TextInputAttributes {
254254
}
255255

256256
/// If a text input entity has a `TextInputFilter` component, after each [`TextEdit`] is applied, the [`TextInputBuffer`]’s text is checked
257-
/// against the filter, and if it fails, the `TextEdit` is rolled back.
257+
/// against the filter, and if it fails, the `TextEdit` is immediately rolled back, and a [`TextInputEvent::InvalidEdit`] event is emitted.
258258
#[derive(Component)]
259259
pub enum TextInputFilter {
260260
/// Positive integer input

0 commit comments

Comments
 (0)