small example modifications

This commit is contained in:
Tom Schimansky
2021-12-28 18:26:29 +01:00
parent 9109663848
commit 9124314e97
3 changed files with 3 additions and 4 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":
if sys.platform == "darwin" and 1==2:
# on macOS draw button with polygons (positions are more accurate, macOS has Antialiasing)
self.draw_with_polygon_shapes()
else: