kwilcz/Antario

weird behavior with sections

Closed this issue · 6 comments

Will fix shortly, for quick fix:
https://github.com/Wando1423/Antario/blob/master/Antario/GUI/GUI.cpp#L180
Change
if (object->GetBBox().ContainsPoint(ptPoint)) to if (object->GetBBox().ContainsPoint(ptPoint) && object->IsVisible)

UIObject class can not access anything from the Control class, and when i try and use std::dynamic_pointer_cast on any UIObject item, it results in a crash.

Will push the fix after the weekend, with all of the other ones.

Thanks

Any eta on the fixes?

Fixed with 1b69632.