Explorar o código

minor cleanup

Falko Schindler %!s(int64=3) %!d(string=hai) anos
pai
achega
2fbc491907
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. 1 1
      nicegui/elements/joystick.py
  2. 0 1
      nicegui/nicegui.py

+ 1 - 1
nicegui/elements/joystick.py

@@ -51,7 +51,7 @@ class Joystick(Element):
 
         Create a joystick based on `nipple.js <https://yoannmoi.net/nipplejs/>`_.
 
-        :param on_start: callback for when the user toches the joystick
+        :param on_start: callback for when the user touches the joystick
         :param on_move: callback for when the user moves the joystick
         :param on_end: callback for when the user releases the joystick
         :param options: arguments like `color` which should be passed to the `underlying nipple.js library <https://github.com/yoannmoinet/nipplejs#options>`_

+ 0 - 1
nicegui/nicegui.py

@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 from typing import Awaitable, Callable
-import asyncio
 
 from .ui import Ui  # NOTE: before justpy
 import justpy as jp