beefytech / Beef

Beef Programming Language
http://www.beeflang.org
Other
2.51k stars 131 forks source link

Fix startup panel mem leak & resize when item is deleted #2024

Closed Fusioon closed 2 months ago

bfiete commented 2 months ago

Have you verified that mRecentsParent.mParent?.RehupSize(); is an acceptable substitution for mRecentsParent.RehupSize();? Those are not equivalent in functionality. You sure we don't just need a if (mRecentsParent.mParent != null) check?

Fusioon commented 2 months ago

Yes i'm sure it's what i want, the problem is that after the deletion of the recents item the other items are not repositioned and it ends up looking like this: image

But your question made me think about it a bit more and i opted for another solution :)