mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-20 13:10:07 -08:00
window evaluation, provide path to get to per-window settings
This commit is contained in:
1 parent
9bc8641db1
commit
a2047619c4
6 files changed
+27
-8
No files matched your search
+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