App launcher
[skip ci]
This commit is contained in:
@@ -205,11 +205,7 @@ impl EventResult {
|
||||
|
||||
#[must_use]
|
||||
pub fn merge(self, other: Self) -> Self {
|
||||
if self > other {
|
||||
self
|
||||
} else {
|
||||
other
|
||||
}
|
||||
if self > other { self } else { other }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -349,7 +345,6 @@ impl WidgetState {
|
||||
if (scrolling_cur.x - scrolling_target.x).abs() < epsilon
|
||||
&& (scrolling_cur.y - scrolling_target.y).abs() < epsilon
|
||||
{
|
||||
log::info!("stopped animating");
|
||||
*scrolling_cur = *scrolling_target;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user