浏览代码

minor cleanup

Falko Schindler 3 年之前
父节点
当前提交
2fbc491907
共有 2 个文件被更改,包括 1 次插入2 次删除
  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