mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
fix(ui): correct flag check in CSimpleTop::RaiseFrame
This commit is contained in:
parent
1cd1b424e9
commit
3dc6b4373e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user