IRCc: do not redraw userlist, unless scrollbar actually moved.

git-svn-id: svn://kolibrios.org@3234 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-02-07 13:55:04 +00:00
parent 1373a38089
commit ad706e4a24

View File

@ -287,11 +287,14 @@ mouse:
call [edit_box_mouse] call [edit_box_mouse]
; TODO: check if scrollbar is active ; TODO: check if scrollbar is active
push [scroll1.position]
push dword scroll1 push dword scroll1
call [scrollbar_v_mouse] call [scrollbar_v_mouse]
pop eax
; TODO: check if scrollbar moved cmp eax, [scroll1.position] ; did the scrollbar move?
je @f
call print_channel_list call print_channel_list
@@:
jmp still jmp still