Skip to content

Commit

Permalink
Match LegoInputManager::ProcessOneEvent (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles authored Dec 28, 2024
1 parent 29e7721 commit 2303daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LEGO1/lego/legoomni/src/input/legoinputmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2303daf

Please sign in to comment.