mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 12:28:03 -08:00
?
This commit is contained in:
@@ -110,13 +110,12 @@ function small_monster_UI.draw()
|
||||
if distance > config.current_config.small_monster_UI.dynamic_positioning.max_distance then
|
||||
goto continue;
|
||||
end
|
||||
|
||||
|
||||
if config.current_config.small_monster_UI.dynamic_positioning.opacity_falloff then
|
||||
opacity_scale = 1 - (distance / config.current_config.small_monster_UI.dynamic_positioning.max_distance);
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
small_monster.draw(monster, position_on_screen, opacity_scale);
|
||||
|
||||
i = i + 1;
|
||||
|
||||
Reference in New Issue
Block a user