Set cursor width to 1.0 in IME requests
This commit is contained in:
parent
d22da7d261
commit
2804aff5b2
2 changed files with 2 additions and 2 deletions
|
|
@ -370,7 +370,7 @@ where
|
|||
InputMethod::Enabled {
|
||||
cursor: Rectangle::new(
|
||||
position,
|
||||
Size::new(0.0, f32::from(line_height)),
|
||||
Size::new(1.0, f32::from(line_height)),
|
||||
),
|
||||
purpose: input_method::Purpose::Normal,
|
||||
preedit: state.preedit.as_ref().map(input_method::Preedit::as_ref),
|
||||
|
|
|
|||
|
|
@ -430,7 +430,7 @@ where
|
|||
InputMethod::Enabled {
|
||||
cursor: Rectangle::new(
|
||||
Point::new(x, text_bounds.y),
|
||||
Size::new(0.0, text_bounds.height),
|
||||
Size::new(1.0, text_bounds.height),
|
||||
),
|
||||
purpose: if self.is_secure {
|
||||
input_method::Purpose::Secure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue