1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 00:46:34 +00:00

Try black color with alpha of 0

This commit is contained in:
jugeeya 2023-08-31 16:12:07 -07:00
parent 720ab0fbbc
commit a5f1565090
2 changed files with 9 additions and 9 deletions

View file

@ -15,56 +15,56 @@ const GREEN: ResColor = ResColor {
r: 0,
g: 255,
b: 0,
a: 255,
a: 0,
};
const RED: ResColor = ResColor {
r: 255,
g: 0,
b: 0,
a: 255,
a: 0,
};
const CYAN: ResColor = ResColor {
r: 0,
g: 255,
b: 255,
a: 255,
a: 0,
};
const BLUE: ResColor = ResColor {
r: 0,
g: 255,
b: 0,
a: 255,
a: 0,
};
const PURPLE: ResColor = ResColor {
r: 255,
g: 0,
b: 255,
a: 255,
a: 0,
};
pub const YELLOW: ResColor = ResColor {
r: 255,
g: 255,
b: 0,
a: 255,
a: 0,
};
pub const WHITE: ResColor = ResColor {
r: 255,
g: 255,
b: 255,
a: 255,
a: 0,
};
pub const BLACK: ResColor = ResColor {
r: 0,
g: 0,
b: 0,
a: 255,
a: 0,
};
pub static PER_LOG_FRAME_COUNTER: Lazy<usize> =

View file

@ -142,7 +142,7 @@ unsafe fn draw_log(root_pane: &Pane, log_idx: usize, log: &InputLog) {
.as_picture();
icon_pane.set_visible(true);
(*icon_pane.material).set_white_res_color(*icon_color);
(*icon_pane.material).set_black_res_color(*icon_color);
icon_pane.flags |= PaneFlag::IsGlobalMatrixDirty as u8;
}