]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (GH-26448)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 May 2021 08:16:34 +0000 (01:16 -0700)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 08:16:34 +0000 (04:16 -0400)
commit9bcb76c24f6d3f01e596a439c1521f9099e3fe80
tree2b8223813cf5365e621cd3810246807c4bf59ce5
parent7bd1304d49a110700b3f079e4b2dd1052a23bde4
bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (GH-26448)

On macOS, tk defers to system setting for button background when in normal state.
Give turtledemo button text a color that works on either light or dark background.
(cherry picked from commit af5a324843de395cecc562cb0c757b3768f2077f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/turtledemo/__main__.py
Misc/NEWS.d/next/Library/2021-05-29-01-05-43.bpo-44254.f06xDm.rst [new file with mode: 0644]