chore: update deps
This commit is contained in:
@@ -859,7 +859,7 @@ impl Element for TextElement {
|
||||
let p = point(input_bounds.origin.x, origin.y + offset_y);
|
||||
|
||||
for line in lines {
|
||||
_ = line.paint(p, line_height, window, cx);
|
||||
_ = line.paint(p, line_height, TextAlign::Left, None, window, cx);
|
||||
offset_y += line_height;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -766,7 +766,7 @@ impl InputState {
|
||||
|
||||
/// Focus the input field.
|
||||
pub fn focus(&self, window: &mut Window, cx: &mut Context<Self>) {
|
||||
self.focus_handle.focus(window);
|
||||
self.focus_handle.focus(window, cx);
|
||||
self.blink_cursor.update(cx, |cursor, cx| {
|
||||
cursor.start(cx);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user