Skip to content

Commit

Permalink
Merge pull request #9 from karolsw3/patch-1
Browse files Browse the repository at this point in the history
Add PickingMode.Ignore to SafeArea VisualElements #8
  • Loading branch information
artstorm authored Mar 22, 2024
2 parents 2039559 + c03803a commit 3410e1e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ public SafeArea()
style.bottom = 0;
style.left = 0;
style.right = 0;
pickingMode = PickingMode.Ignore;

_contentContainer = new VisualElement();
_contentContainer.name = "safe-area-content-container";
_contentContainer.pickingMode = PickingMode.Ignore;
_contentContainer.style.flexGrow = 1;
_contentContainer.style.flexShrink = 0;
hierarchy.Add(_contentContainer);
Expand Down Expand Up @@ -140,4 +142,4 @@ private Offset GetMarginOffset()
};
}
}
}
}

0 comments on commit 3410e1e

Please sign in to comment.