Keep imports consistent in program::state
This commit is contained in:
parent
ae2709f2c4
commit
af4d65c428
1 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
use crate::core::event::{self, Event};
|
use crate::core::event::{self, Event};
|
||||||
use crate::core::mouse;
|
use crate::core::mouse;
|
||||||
use crate::core::renderer;
|
use crate::core::renderer;
|
||||||
use crate::core::widget::operation::{Operation, Outcome};
|
use crate::core::widget::operation::{self, Operation};
|
||||||
use crate::core::{Clipboard, Size};
|
use crate::core::{Clipboard, Size};
|
||||||
use crate::user_interface::{self, UserInterface};
|
use crate::user_interface::{self, UserInterface};
|
||||||
use crate::{Command, Debug, Program};
|
use crate::{Command, Debug, Program};
|
||||||
|
|
@ -198,11 +198,11 @@ where
|
||||||
user_interface.operate(renderer, operation.as_mut());
|
user_interface.operate(renderer, operation.as_mut());
|
||||||
|
|
||||||
match operation.finish() {
|
match operation.finish() {
|
||||||
Outcome::None => {}
|
operation::Outcome::None => {}
|
||||||
Outcome::Some(message) => {
|
operation::Outcome::Some(message) => {
|
||||||
self.queued_messages.push(message)
|
self.queued_messages.push(message)
|
||||||
}
|
}
|
||||||
Outcome::Chain(next) => {
|
operation::Outcome::Chain(next) => {
|
||||||
current_operation = Some(next);
|
current_operation = Some(next);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue