small example modifications

This commit is contained in:
Tom Schimansky
2021-12-28 18:35:45 +01:00
parent 9124314e97
commit 58108482c8
2 changed files with 41 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ class CTkSlider(tkinter.Frame):
def draw(self, no_color_updates=False):
# decide the drawing method
if sys.platform == "darwin" and 1==2:
if sys.platform == "darwin":
# on macOS draw button with polygons (positions are more accurate, macOS has Antialiasing)
self.draw_with_polygon_shapes()
else: