]> 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 07:34:57 +0000 (00:34 -0700)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 07:34:57 +0000 (03:34 -0400)
commitaddd32986f703e692463828ac0014023a901010f
tree6c22ec6631c605f9fb62b43972e2c0ce36a6207e
parent11049bece15b6fa08fa6d74aea8eb6bc2ebadfe5
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]