remove old animation method for panel pcts; since panels are often rearranged in a hierarchy, having pcts being based on parent rectangle (as opposed to the root rectangle) is unstable and often looks bad

This commit is contained in:
Ryan Fleury
2024-04-30 09:17:00 -07:00
parent 3b2656675e
commit cd9437534c
2 changed files with 44 additions and 64 deletions
+1 -4
View File
@@ -227,10 +227,7 @@ struct DF_Panel
// rjf: split data
Axis2 split_axis;
Vec2F32 off_pct_of_parent;
Vec2F32 off_pct_of_parent_target;
Vec2F32 size_pct_of_parent;
Vec2F32 size_pct_of_parent_target;
F32 pct_of_parent;
// rjf: tab params
Side tab_side;