tabreturn / thonny-py5mode

A py5 plug-in for Thonny
Do What The F*ck You Want To Public License
23 stars 8 forks source link

Develop a better color-mixer #30

Closed tabreturn closed 2 years ago

tabreturn commented 2 years ago

The Tkinter built-in color-mixer differs between operating systems. It currently steals focus from the editor window (so you cannot leave it open alongside the editor and copy/paste color values between the mixer and editor). Maybe a bespoke color-mixer (with HSB, RGB, hexadecimal) that docks in Thonny interface is what's required?

tabreturn commented 2 years ago

This might be a good solution: https://github.com/j4321/tkColorPicker

tabreturn commented 2 years ago

Swapped out askcolor for `tkcolorpicker'. This still steals focus, but I'm with this for now. Maybe there's something that docks in the Thonny interface at some stage in the future. But that's not a development priority now.

https://github.com/tabreturn/thonny-py5mode/commit/a55bfb932b0106e9789f0b4af1e9bd46f22c8699