Tweak Outline Color
All checks were successful
Build / Build (AMD64, Client) (push) Successful in 8m40s
Build / Build (AMD64, Server) (push) Successful in 8m45s
Build / Build (ARM64, Client) (push) Successful in 8m7s
Build / Build (ARM64, Server) (push) Successful in 8m1s
Build / Build (ARMHF, Server) (push) Successful in 6m33s
Build / Build (ARMHF, Client) (push) Successful in 8m48s
Build / Test (Server) (push) Successful in 11m30s
Build / Release (push) Successful in 1m1s
Build / Test (Client) (push) Successful in 16m23s
All checks were successful
Build / Build (AMD64, Client) (push) Successful in 8m40s
Build / Build (AMD64, Server) (push) Successful in 8m45s
Build / Build (ARM64, Client) (push) Successful in 8m7s
Build / Build (ARM64, Server) (push) Successful in 8m1s
Build / Build (ARMHF, Server) (push) Successful in 6m33s
Build / Build (ARMHF, Client) (push) Successful in 8m48s
Build / Test (Server) (push) Successful in 11m30s
Build / Release (push) Successful in 1m1s
Build / Test (Client) (push) Successful in 16m23s
This commit is contained in:
parent
631cbc07d0
commit
0be1f4fce8
|
@ -501,7 +501,7 @@ static unsigned char *ContainerMenu_destructor_injection(unsigned char *containe
|
|||
// Custom Outline Color
|
||||
static void glColor4f_injection(__attribute__((unused)) GLfloat red, __attribute__((unused)) GLfloat green, __attribute__((unused)) GLfloat blue, __attribute__((unused)) GLfloat alpha) {
|
||||
// Set Color
|
||||
glColor4f(0, 0, 0, 1);
|
||||
glColor4f(0, 0, 0, 0.4);
|
||||
|
||||
// Find Line Width
|
||||
char *custom_line_width = getenv("MCPI_BLOCK_OUTLINE_WIDTH");
|
||||
|
@ -511,7 +511,7 @@ static void glColor4f_injection(__attribute__((unused)) GLfloat red, __attribute
|
|||
line_width = strtof(custom_line_width, NULL);
|
||||
} else {
|
||||
// Guess
|
||||
line_width = 1.75 / (*InvGuiScale);
|
||||
line_width = 2 / (*InvGuiScale);
|
||||
}
|
||||
// Clamp Line Width
|
||||
float range[2];
|
||||
|
|
Loading…
Reference in New Issue
Block a user