ecere/gui/RepButton: Fixed pushed offset
authorJerome St-Louis <jerome@ecere.com>
Sat, 7 Feb 2015 02:13:18 +0000 (21:13 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sun, 15 Feb 2015 20:33:17 +0000 (15:33 -0500)
- Was broken to fix double line moves by Ctrl-Up/Down in DirectoriesBox
  in 30cc42fcfe486eefd27c6a034777787fabf1da34 to

ecere/src/sys/Date.ec

index fce06ab..c869d55 100644 (file)
@@ -520,8 +520,8 @@ public:
    {
       if(key == hotKey)
       {
-         return NotifyPushed(master, this, 0,0, key.modifiers);
-         // return true;
+         /*return */NotifyPushed(master, this, 0,0, key.modifiers);
+         return false; //true;
       }
       return true;
    }
@@ -541,7 +541,7 @@ public:
       button.pressing = true;
       button.NotifyClicked(this, button, x, y, mods);
       button.timer.Start();
-      return false; //true;
+      return true;
    }
 
    bool NotifyMouseLeave(RepButton button, Modifiers mods)