Skip to content

Commit

Permalink
map name in desc window
Browse files Browse the repository at this point in the history
  • Loading branch information
faroukbmiled committed Sep 23, 2023
1 parent 016ac80 commit 1b59262
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boiiiwd_package/src/library_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def main_thread():
description_window.after(210, lambda: description_window.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico")))

description_window.attributes('-topmost', 'true')
description_window.title("Description")
description_window.title(f"Description - {map_name}")
x_pos = event.x_root - 300
y_pos = event.y_root - 200
calc_req_width = len(description) * 6 + 5
Expand Down
3 changes: 2 additions & 1 deletion boiiiwd_package/src/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from turtle import title
from src.update_window import check_for_updates_func
from src.helpers import *

Expand Down Expand Up @@ -666,7 +667,7 @@ def main_thread():
description_window.after(210, lambda: description_window.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico")))

description_window.attributes('-topmost', 'true')
description_window.title("Description")
description_window.title(f"Description - {map_name}")
x_pos = event.x_root - 300
y_pos = event.y_root - 200
calc_req_width = len(description) * 6 + 5
Expand Down

0 comments on commit 1b59262

Please sign in to comment.