mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix send button deactivation on enter last byte
This commit is contained in:
parent
89469c2aa3
commit
7014df051c
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ impl Control {
|
|||
// Update children components
|
||||
self.counter.update(is_empty, bytes_left);
|
||||
self.send.update(match bytes_left {
|
||||
Some(left) => !is_empty && left > 0,
|
||||
Some(left) => !is_empty && left >= 0,
|
||||
None => false,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue