Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Görüntüdeki Takılma Düzeltildi #1

Merged
merged 1 commit into from
Mar 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 6 additions & 9 deletions ZodiacMotion.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def line_object(
self.objects[name] = line
else:
self.coords(self.objects[name], x1, y1, x2, y2)
self.update()
## self.update()

def aspect_line_object(
self,
Expand All @@ -562,7 +562,7 @@ def aspect_line_object(
self.aspect_objects[(key, _key)] = line
else:
self.coords(self.aspect_objects[(key, _key)], x1, y1, x2, y2)
self.update()
## self.update()

def text_object(
self,
Expand All @@ -581,7 +581,7 @@ def text_object(
self.objects[name] = text
else:
self.coords(self.objects[name], x, y)
self.update()
## self.update()

def draw_houses(self):
self.midpoint_of_houses = []
Expand Down Expand Up @@ -1249,10 +1249,7 @@ def __init__(self, *args, **kwargs):
self.start_animation = tk.Button(
master=self.button_frame,
text="Start",
command=lambda: Thread(
target=self.start_command,
daemon=True
).start()
command=self.start_command
)
self.start_animation.pack(side="left", padx=5)
self.stop_animation = tk.Button(
Expand Down Expand Up @@ -1310,7 +1307,7 @@ def change_current_date(self, date: dt = None):
self.current_date["Second"].insert(
0, date.second
)
self.update()
## self.update()

def change_zodiac(
self, date: dt = None,
Expand Down Expand Up @@ -1488,9 +1485,9 @@ def start_command(self):
sleep(float(self.chart_per_sec_scale.get()))
if not self.start:
break
self.update()
self.change_current_date(date=start)
self.change_zodiac(date=start, lat=lat, lon=lon)
self.update()
if self.start:
self.change_current_date(date=end)
for i in self.current_date:
Expand Down