Improvements
* Skip back layers during icon crop calculations * Improve contrast for selected text
This commit is contained in:
parent
65690ca90c
commit
e8ece0c775
@ -182,7 +182,7 @@ init python:
|
||||
matrix = SaturationMatrix(0.0)
|
||||
sprites = [i for i in self.build_image(hash, matrix=matrix) if not i[0] == "mask"]
|
||||
|
||||
icon_sprite = Fixed(*[i[1] for i in sprites], fit_first=True)
|
||||
icon_sprite = Fixed(*[i[1] for i in sprites if not "_back_" in i[0]], fit_first=True)
|
||||
|
||||
sprites.extend(self.char.body.build_image(self.char.body._hash, matrix=matrix))
|
||||
sprites.sort(key=itemgetter(2))
|
||||
|
@ -360,8 +360,9 @@ style choice_button_disabled is choice_button:
|
||||
)
|
||||
|
||||
style choice_text:
|
||||
color "#dddddd"
|
||||
color "#cccccc"
|
||||
hover_color "#ffffff"
|
||||
selected_color "#EA8D60"
|
||||
outlines [(1, "#000000", 1, 2), (1, "#000000", 0, 1), (1, "#000000", 0, 0)]
|
||||
hinting "bytecode"
|
||||
size 32
|
||||
|
Loading…
Reference in New Issue
Block a user