diff --git a/pages/component/canvas/canvas/ball.uvue b/pages/component/canvas/canvas/ball.uvue index c3b9550704fe668f78966872aec98ca1e5f0faf4..a0590fd6e4536aed97ec592b17ddd5b00f2cd13d 100644 --- a/pages/component/canvas/canvas/ball.uvue +++ b/pages/component/canvas/canvas/ball.uvue @@ -4,23 +4,20 @@ FPS: {{fpsString}} Speed - {{ballSpeed}} - + {{ballSpeed}} Layer - {{ballLayer}} - + {{ballLayer}} Inlayer - {{ballInlayer}} - + {{ballInlayer}} @@ -204,10 +201,10 @@ animation!.speed--; ballSpeed.value = animation!.speed } else if (type == 'layer') { - animation!.layer--; + animation!.layer -= 5; ballLayer.value = animation!.layer } else if (type == 'inLayer') { - animation!.inLayer--; + animation!.inLayer -= 5; ballInlayer.value = animation!.inLayer } } @@ -217,10 +214,10 @@ animation!.speed++; ballSpeed.value = animation!.speed } else if (type == 'layer') { - animation!.layer++; + animation!.layer += 5; ballLayer.value = animation!.layer } else if (type == 'inLayer') { - animation!.inLayer++; + animation!.inLayer += 5; ballInlayer.value = animation!.inLayer } } @@ -242,10 +239,10 @@