temp tweak to turn off toolbar d&d for M9 because it's too sensitive. bug 11397. appr don.

This commit is contained in:
pinkerton%netscape.com 1999-08-12 20:52:47 +00:00
Родитель 1c0587bead
Коммит dcd795f58d
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -447,6 +447,14 @@ nsToolbarDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
nsresult
nsToolbarDragListener::MouseMove(nsIDOMEvent* aMouseEvent)
{
//XXX people are complaining that the drag start is too sensitive and it's keeping
//XXX them from clicking on buttons. Pooh. Disable this until I can get a better
//XXX heuristic than 1-pixel mouse move -> drag start.
#define UNTIL_NOT_SO_TWITCHY 1
#if UNTIL_NOT_SO_TWITCHY
return NS_OK;
#endif
// XXX At the moment toolbar drags contain "text"
// in the future they will probably contain some form of content
// that will be translated into some RDF form