Skip to content

Commit

Permalink
Updated pause/play button to use unicode symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
wlad-svennik committed Jun 23, 2020
1 parent a53784c commit fe0bede
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion laguerre_transformations/laguerre_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from scipy.linalg import logm, expm
import tkinter as tk
from tkinter.filedialog import asksaveasfilename
import tkinter.font as font
from itertools import count
from .ImageLabel import ImageLabel

Expand Down Expand Up @@ -158,7 +159,8 @@ def animate_transformation(transformation,
lbl.configure(background='black')
#root.configure(background='gray')
pause_play = tk.Button(root,
text="Pause/Play",
text="⏯️",
font=font.Font(size=30),
command=lambda: lbl.pause_play())
pause_play.pack(expand=True, fill=tk.X, side=tk.RIGHT)
root.config(menu=menubar)
Expand Down

0 comments on commit fe0bede

Please sign in to comment.