summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-20 06:14:55 +0100
committerAndrew Dolgov <[email protected]>2008-05-20 06:14:55 +0100
commita3f762aef74833e4ff7b8cb45e06fb7b927697a6 (patch)
treed5de3a6b062f6aeb3bb550baaeef0dd098a72697 /feedlist.js
parentf52e9524a8a3437c4888c817e0dd9ac1476e77df (diff)
grabber: remove direct link between panel offset and mouse coordinate delta
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js
index cf41f3ba1..f7699efbe 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -488,6 +488,10 @@ function mouse_move_handler(e) {
if (mouse_x == 0) mouse_x = client_x;
resize_headlines(mouse_x - client_x, mouse_y - client_y);
+
+ mouse_y = client_y;
+ mouse_x = client_x;
+
return false;
}
@@ -502,7 +506,11 @@ function resize_enabled(b) {
function mouse_down_handler(e) {
try {
- if (enable_resize) mouse_is_down = true;
+ if (enable_resize) {
+ mouse_is_down = true;
+ mouse_x = 0;
+ mouse_y = 0;
+ }
} catch (e) {
exception_error("mouse_move_handler", e);
}