Compare commits
No commits in common. "0c984254634348c397347ca2577dd463a83a6bee" and "dd18e65f7ff02132af6640897621d9bfbe8ccfcc" have entirely different histories.
0c98425463
...
dd18e65f7f
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 168 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 124 B |
|
@ -183,14 +183,7 @@ pub fn texture_option_button<T>(
|
||||||
width: tex_size + border * 2.,
|
width: tex_size + border * 2.,
|
||||||
height: tex_size + border * 2.,
|
height: tex_size + border * 2.,
|
||||||
};
|
};
|
||||||
d.draw_rectangle_rec(
|
d.draw_rectangle_rec(bounds, widget_bg(&option == current));
|
||||||
bounds,
|
|
||||||
if &option == current {
|
|
||||||
BG_WIDGET_ACTIVE
|
|
||||||
} else {
|
|
||||||
gray(16)
|
|
||||||
},
|
|
||||||
);
|
|
||||||
d.draw_texture_ex(
|
d.draw_texture_ex(
|
||||||
texture,
|
texture,
|
||||||
pos + Vector2::new(border, border),
|
pos + Vector2::new(border, border),
|
||||||
|
|