mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Match LegoInputManager::ProcessOneEvent
(#1294)
This commit is contained in:

committed by
GitHub

parent
29e77210e8
commit
2303dafaae
@@ -466,7 +466,7 @@ MxBool LegoInputManager::ProcessOneEvent(LegoEventNotificationParam& p_param)
|
||||
LegoROI* roi = PickROI(p_param.GetX(), p_param.GetY());
|
||||
p_param.SetROI(roi);
|
||||
|
||||
if (roi && roi->GetVisibility()) {
|
||||
if (roi && roi->GetVisibility() == TRUE) {
|
||||
for (OrientableROI* parent = roi->GetParentROI(); parent; parent = parent->GetParentROI()) {
|
||||
roi = (LegoROI*) parent;
|
||||
}
|
||||
|
Reference in New Issue
Block a user