mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 08:33:10 +03:00
fix(ui): correct flag check in CSimpleTop::RaiseFrame
This commit is contained in:
1 file changed
+1
-1
@@ -510,7 +510,7 @@ void CSimpleTop::NotifyFrameMovedOrResized(CSimpleFrame* frame) {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user