Skip to content

Commit

Permalink
update dependencies and add changelog (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkwalExe authored Nov 17, 2023
1 parent c4c4f41 commit 26b1d2c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# v1.1.1 - Unreleased

### Dependencies
- pillow : `9.5.0` -> `10.1.0`
- click-extra : `4.6.0` -> `4.7.2`

# v1.1.0 - 2023-10-02

### Added
- Command line argument parsing
- A no-tui option which will make the program use inquierer instead

# v1.0.0 - 2023-09-28

### Added
- Terminal user interface with `textual`

# v0.1.0 - 2023-08-29

- Initial release
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pillow==9.5.0
pillow==10.1.0
inquirer==3.1.3
toml==0.10.2
importlib==1.0.4
textual==0.38.1
click-extra==4.6.0
click-extra==4.7.2
loguru==0.7.2
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from textual.events import Key
from click_extra import extra_command, option, ExtraContext, Parameter

VERSION = "1.1.0"
VERSION = "1.1.1"

from wizard import *

Expand Down
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_text_size(text, font):


def get_font_height(font):
return font.getsize("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQASDFGHJKLMWXCVBN0123456789")[1]
return font.getbbox("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQASDFGHJKLMWXCVBN0123456789")[3]


def remove_ext(filename):
Expand Down

0 comments on commit 26b1d2c

Please sign in to comment.