gui: hardcode better windows colours

This commit is contained in:
mappu 2024-07-18 17:51:27 +12:00
parent 223d13be58
commit 8296a2fec9

View File

@ -59,7 +59,11 @@ func vcl_default_tab_background() types.TColor {
if runtime.GOOS == "windows" {
// Assuming that uxtheme is loaded
// @ref https://stackoverflow.com/a/20332712
return colors.ClBtnHighlight
// return colors.ClBtnHighlight
// None of the colors.** constants seem to be quite right on a test
// Windows 11 machine - should be #f9f9f9
return 0x00f9f9f9
} else {
return colors.ClBtnFace // 0x00f0f0f0
}