fix(ui): correct flag check in CSimpleTop::RaiseFrame

This commit is contained in:
fallenoak 2025-12-04 19:51:54 -06:00
parent 1cd1b424e9
commit 3dc6b4373e
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -510,7 +510,7 @@ void CSimpleTop::NotifyFrameMovedOrResized(CSimpleFrame* frame) {
} }
int32_t CSimpleTop::RaiseFrame(CSimpleFrame* frame, int32_t checkOcclusion) { int32_t CSimpleTop::RaiseFrame(CSimpleFrame* frame, int32_t checkOcclusion) {
while (frame && frame->m_flags & 0x01) { while (frame && !(frame->m_flags & 0x1)) {
frame = frame->m_parent; frame = frame->m_parent;
} }