mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
fix: The coordinates of the shadow position are allowed to be negative
This commit is contained in:
parent
1f362a18da
commit
1b97dd533e
1 changed files with 2 additions and 2 deletions
|
|
@ -2095,8 +2095,8 @@ void override_config(void) {
|
|||
shadows = CLAMP_INT(config.shadows, 0, 1);
|
||||
shadows_size = CLAMP_INT(config.shadows_size, 0, 100);
|
||||
shadows_blur = CLAMP_INT(config.shadows_blur, 0, 100);
|
||||
shadows_position_x = CLAMP_INT(config.shadows_position_x, 0, 100);
|
||||
shadows_position_y = CLAMP_INT(config.shadows_position_y, 0, 100);
|
||||
shadows_position_x = CLAMP_INT(config.shadows_position_x, -1000, 1000);
|
||||
shadows_position_y = CLAMP_INT(config.shadows_position_y, -1000, 1000);
|
||||
focused_opacity = CLAMP_FLOAT(config.focused_opacity, 0.0f, 1.0f);
|
||||
unfocused_opacity = CLAMP_FLOAT(config.unfocused_opacity, 0.0f, 1.0f);
|
||||
memcpy(shadowscolor, config.shadowscolor, sizeof(shadowscolor));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue