mirror of https://github.com/linebender/xilem
Resolving remaining `Label::message` artifacts. (#894)
Sorry, I should have done this already in #889.
This commit is contained in:
parent
8d322b63a8
commit
fcc1c4a6f2
|
@ -87,7 +87,7 @@ impl<State, Action> View<State, Action, ViewCtx> for Spinner {
|
|||
_: &mut State,
|
||||
) -> MessageResult<Action> {
|
||||
tracing::error!(
|
||||
"Message arrived in Label::message, but Label doesn't consume any messages, this is a bug"
|
||||
"Message arrived in Spinner::message, but Spinner doesn't consume any messages, this is a bug"
|
||||
);
|
||||
MessageResult::Stale(message)
|
||||
}
|
||||
|
|
|
@ -151,7 +151,7 @@ impl<State, Action> View<State, Action, ViewCtx> for VariableLabel {
|
|||
self.label.message(&mut (), remainder, message, app_state)
|
||||
} else {
|
||||
tracing::error!(
|
||||
"Message arrived in Label::message, but Label doesn't consume any messages, this is a bug"
|
||||
"Message arrived in VariableLabel::message, but VariableLabel doesn't consume any messages, this is a bug"
|
||||
);
|
||||
MessageResult::Stale(message)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue