diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-15 18:55:30 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-15 18:55:30 +0100 |
| commit | e71e23b46e138a5bcd0bbb8f246a910e03893c8e (patch) | |
| tree | d7631587416d043c6072d3dca6b96e49e53da253 /src/GraphicObjects/Scroller.cs | |
| parent | 60719330e1ce6dc4516ae502b055be33e0293950 (diff) | |
code clean
Diffstat (limited to 'src/GraphicObjects/Scroller.cs')
| -rw-r--r-- | src/GraphicObjects/Scroller.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/GraphicObjects/Scroller.cs b/src/GraphicObjects/Scroller.cs index a4e1b816..397d7de0 100644 --- a/src/GraphicObjects/Scroller.cs +++ b/src/GraphicObjects/Scroller.cs @@ -223,20 +223,8 @@ namespace Crow public override bool PointIsIn (ref Point m) { -// if (!(Visible & IsEnabled)||IsDragged) -// return false; -// ILayoutable tmp = Parent; -// //while (tmp != null){ -// if (!Parent.PointIsIn(ref m)) -// return false; -// m -= (Parent.getSlot().Position + Parent.ClientRectangle.Position); -// if (!Slot.ContainsOrIsEqual (m) || child==null) -// return false; -// m += new Point (ScrollX, ScrollY); -// return true; if (!base.PointIsIn(ref m)) return false; - //m -= (Parent.getSlot().Position + Parent.ClientRectangle.Position); if (!Slot.ContainsOrIsEqual (m) || child==null) return false; m += new Point (ScrollX, ScrollY); |