forked from mbk-lab/rui_orig
2
0
Fork 0

Bug fixing

This commit is contained in:
anoshenko 2021-09-08 12:36:07 +03:00
parent 66f3a14f1b
commit 6b2d758df7
1 changed files with 4 additions and 4 deletions

View File

@ -244,11 +244,11 @@ func (session *sessionData) checkboxImage(checked bool) string {
if backgroundColor, ok = session.Color("ruiHighlightColor"); !ok {
backgroundColor = 0xFF1A74E8
}
} else if backgroundColor, ok = session.Color("backgroundColor"); !ok {
} else if backgroundColor, ok = session.Color("ruiBackgroundColor"); !ok {
if session.darkTheme {
backgroundColor = 0xFFA0A0A0
backgroundColor = 0xFF040404
} else {
backgroundColor = 0xFF202020
backgroundColor = 0xFFF0F0F0
}
}
@ -295,7 +295,7 @@ func (session *sessionData) radiobuttonOffImage() string {
}
}
if backgroundColor, ok = session.Color("backgroundColor"); !ok {
if backgroundColor, ok = session.Color("ruiBackgroundColor"); !ok {
if session.darkTheme {
backgroundColor = 0xFFA0A0A0
} else {