Skip to content

Commit

Permalink
modify add watermark by adding messagebox day 85
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikerniker committed Oct 26, 2023
1 parent bfae558 commit 49f0da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Day85/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from tkinter import *
import sys
from tkinter import filedialog
from tkinter import font, colorchooser
from tkinter import font, colorchooser, messagebox
from tkinter.font import Font
from PIL import Image, ImageDraw, ImageFont, ImageTk

Expand Down Expand Up @@ -49,6 +49,7 @@ def add_watermark(event):
canvas.coords(watermark_text, x, y) # Update the position of the text element # ADDED
# print("I got clicked")
else:
messagebox.showwarning(title="Add Color", message="Please choose a color first.")
print("Please choose a color first.")

# Get the available font families
Expand Down

0 comments on commit 49f0da6

Please sign in to comment.