From ad706e4a24a329ceb409f3227b9b6cf85f114491 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 7 Feb 2013 13:55:04 +0000 Subject: [PATCH] IRCc: do not redraw userlist, unless scrollbar actually moved. git-svn-id: svn://kolibrios.org@3234 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/applications/ircc/ircc.asm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernel/branches/net/applications/ircc/ircc.asm b/kernel/branches/net/applications/ircc/ircc.asm index bac35cbd4f..a0d2f17c93 100644 --- a/kernel/branches/net/applications/ircc/ircc.asm +++ b/kernel/branches/net/applications/ircc/ircc.asm @@ -287,11 +287,14 @@ mouse: call [edit_box_mouse] ; TODO: check if scrollbar is active + push [scroll1.position] push dword scroll1 call [scrollbar_v_mouse] - -; TODO: check if scrollbar moved + pop eax + cmp eax, [scroll1.position] ; did the scrollbar move? + je @f call print_channel_list + @@: jmp still