From 1de84d68259027bd494e8fa4fafb44f884f64ecd Mon Sep 17 00:00:00 2001 From: pavelyakov Date: Mon, 3 Aug 2015 00:06:27 +0000 Subject: [PATCH] eolite: fixed event git-svn-id: svn://kolibrios.org@5658 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 8 ++++---- programs/cmm/lib/kolibri.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index f1ee459c17..f5c4cb797d 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -252,7 +252,7 @@ void main() } } } - if (files.MouseOver(mouse.x, mouse.y))&&((mouse.down)||(mouse.dblclick)) + if (files.MouseOver(mouse.x, mouse.y))&&((mouse.down|mouse.dblclick|mouse.up)) { //select/open file { if (mouse.key&MOUSE_LEFT)&&((mouse.down)||(mouse.dblclick)) @@ -260,12 +260,12 @@ void main() if (mouse.y>=files.y)//&&(mouse.click) { id = mouse.y - files.y / files.line_h; - if (files.current!=id) + IF (files.current!=id) { mouse.clearTime(); - if(id