From: Jerome St-Louis Date: Sat, 7 Feb 2015 02:13:18 +0000 (-0500) Subject: ecere/gui/RepButton: Fixed pushed offset X-Git-Tag: 0.44.11~7 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=edff89620f620bb5598dffaa2c200f3d222a5b99 ecere/gui/RepButton: Fixed pushed offset - Was broken to fix double line moves by Ctrl-Up/Down in DirectoriesBox in 30cc42fcfe486eefd27c6a034777787fabf1da34 to --- diff --git a/ecere/src/sys/Date.ec b/ecere/src/sys/Date.ec index fce06ab..c869d55 100644 --- a/ecere/src/sys/Date.ec +++ b/ecere/src/sys/Date.ec @@ -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)