diff --git a/indigo/docs/quickstart/hello-indigo.md b/indigo/docs/quickstart/hello-indigo.md index 6b5d613ed..9b34ca021 100644 --- a/indigo/docs/quickstart/hello-indigo.md +++ b/indigo/docs/quickstart/hello-indigo.md @@ -377,7 +377,8 @@ def updateModel( context: FrameContext[Unit], model: Model ): GlobalEvent => Outcome[Model] = { - case MouseEvent.Click(clickPoint, _, _, _, _, _, _, _) => + case e: MouseEvent.Click => + val clickPoint = e.position val adjustedPosition = clickPoint - model.center Outcome(