Remove unnecessary is_disabled check in text_input::draw
A disabled `TextInput` cannot be focused.
This commit is contained in:
parent
70e4af46aa
commit
6b8548869e
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ pub fn draw<Renderer>(
|
|||
% 2
|
||||
== 0;
|
||||
|
||||
let cursor = if is_cursor_visible && !is_disabled {
|
||||
let cursor = if is_cursor_visible {
|
||||
Some((
|
||||
renderer::Quad {
|
||||
bounds: Rectangle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue