The Stacker is used in the crucial GlobalSettingsDialog and is not a place for experimental code. Segfaults and Memory leaks causing a major setbacks in the IDE's useability. The OnResize() implementation is way too complicated and prone to such problems.
This reverts commit
832efbbe6f459a49c76700af9b09ab46cb8f50b9.
}
if(spring == previous && previousChild)
{
- if(direction == vertical)
- {
- if(reverse)
- previousChild.anchor.top = y;
- else
- previousChild.anchor.bottom = y;
- }
+ if(reverse)
+ previousChild.anchor.left = y;
else
- {
- if(reverse)
- previousChild.anchor.left = y;
- else
- previousChild.anchor.right = y;
- }
+ previousChild.anchor.right = y;
}
controlsDirA.Free();