MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / update_text_input_blink_timers

Method update_text_input_blink_timers

src/engine.rs:6271–6276  ·  view source on GitHub ↗

Update blink timers for all text input states.

(&mut self)

Source from the content-addressed store, hash-verified

6269
6270 /// Update blink timers for all text input states.
6271 pub fn update_text_input_blink_timers(&mut self) {
6272 let dt = self.frame_delta_time as f64;
6273 for state in self.text_edit_states.values_mut() {
6274 state.cursor_blink_timer += dt;
6275 }
6276 }
6277
6278 /// Update scroll offsets for text inputs to ensure cursor visibility.
6279 pub fn update_text_input_scroll(&mut self) {

Callers 1

beginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected