aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Scroller.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-15 18:55:30 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-15 18:55:30 +0100
commite71e23b46e138a5bcd0bbb8f246a910e03893c8e (patch)
treed7631587416d043c6072d3dca6b96e49e53da253 /src/GraphicObjects/Scroller.cs
parent60719330e1ce6dc4516ae502b055be33e0293950 (diff)
code clean
Diffstat (limited to 'src/GraphicObjects/Scroller.cs')
-rw-r--r--src/GraphicObjects/Scroller.cs12
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);