Removed warnings
This commit is contained in:
@@ -228,6 +228,6 @@ impl Button {
|
|||||||
impl RootHandler for Button {
|
impl RootHandler for Button {
|
||||||
fn frame(&mut self, info: FrameInfo) {
|
fn frame(&mut self, info: FrameInfo) {
|
||||||
self.touch_plane.update();
|
self.touch_plane.update();
|
||||||
self.grabbable.update(&info);
|
self.grabbable.update(&info).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ impl RootHandler for Sirius {
|
|||||||
app.frame(info);
|
app.frame(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.grabbable.update(&info);
|
self.grabbable.update(&info).unwrap();
|
||||||
self.touch_plane.update();
|
self.touch_plane.update();
|
||||||
if self.touch_plane.touch_started() {
|
if self.touch_plane.touch_started() {
|
||||||
println!("Touch started");
|
println!("Touch started");
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ impl ProtoStar {
|
|||||||
}
|
}
|
||||||
impl RootHandler for ProtoStar {
|
impl RootHandler for ProtoStar {
|
||||||
fn frame(&mut self, info: FrameInfo) {
|
fn frame(&mut self, info: FrameInfo) {
|
||||||
self.grabbable.update(&info);
|
self.grabbable.update(&info).unwrap();
|
||||||
|
|
||||||
if let Some(grabbable_move) = &mut self.grabbable_move {
|
if let Some(grabbable_move) = &mut self.grabbable_move {
|
||||||
if !grabbable_move.is_finished() {
|
if !grabbable_move.is_finished() {
|
||||||
|
|||||||
Reference in New Issue
Block a user