mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
fix input redraw
This commit is contained in:
parent
ec86a9ecd0
commit
b8b5eee4fe
3 changed files with 11 additions and 23 deletions
|
|
@ -158,8 +158,8 @@ impl Page {
|
|||
}
|
||||
|
||||
pub fn navigation_reload(&self) {
|
||||
// Reset components
|
||||
self.input.hide();
|
||||
// Reset widgets
|
||||
self.input.unset();
|
||||
|
||||
// Init globals
|
||||
let request_text = self.navigation.request_text();
|
||||
|
|
@ -284,8 +284,7 @@ impl Page {
|
|||
let description = gformat!("{placeholder}");
|
||||
|
||||
// Make input form
|
||||
input.use_response(action_page_open, uri, Some(&description), Some(1024));
|
||||
input.show();
|
||||
input.set_new_response(action_page_open, uri, Some(&description), Some(1024));
|
||||
|
||||
// Update meta
|
||||
meta.borrow_mut().status = Some(status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue