diff --git a/pyproject.toml b/pyproject.toml index 70bc392..4fd5752 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "PygameUIKit" -version = "0.0.4" +version = "0.0.5" authors = [ { name="Times0", email="times.coding@gmail.com" }, ] diff --git a/src/PygameUIKit/text_input.py b/src/PygameUIKit/text_input.py index 875a6fd..4ff0107 100644 --- a/src/PygameUIKit/text_input.py +++ b/src/PygameUIKit/text_input.py @@ -7,9 +7,7 @@ pg.font.init() COLOR_INACTIVE = pg.Color('lightskyblue3') COLOR_ACTIVE = pg.Color('dodgerblue2') -cwd = os.path.dirname(__file__) -FONT = pg.font.Font(cwd + "/assets/OpenSans-Medium.ttf", 16) - +FONT = pg.font.SysFont('Arial', 20) TIME_OUT_FIRST = 500 TIME_OUT = 40