mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-20 23:46:48 +00:00
window evaluation, provide path to get to per-window settings
This commit is contained in:
+1
-1
@@ -3172,7 +3172,7 @@ ui_anim_(UI_Key key, UI_AnimParams *params)
|
||||
{
|
||||
node->params.epsilon = 0.005f;
|
||||
}
|
||||
if(node->params.rate == 1)
|
||||
if(node->params.rate == 1 || abs_f32(node->current - node->params.target) < abs_f32(node->params.epsilon))
|
||||
{
|
||||
node->current = node->params.target;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user