Bug 356536 - [Mac] XUL Scroll bar slider jumps back up when mouse cursor strays from near scroll bar. patch from Stefan <stefanh@bluebottle.com>, r=me, sr=roc.

This commit is contained in:
mozilla.mano%sent.com 2006-12-20 22:49:59 +00:00
Родитель 444eb436ac
Коммит cffaffe39c
2 изменённых файлов: 8 добавлений и 9 удалений

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

@ -79,7 +79,7 @@
#include "nsDisplayList.h"
PRBool nsSliderFrame::gMiddlePref = PR_FALSE;
PRInt32 nsSliderFrame::gSnapMultiplier = 6;
PRInt32 nsSliderFrame::gSnapMultiplier;
// Turn this on if you want to debug slider frames.
#undef DEBUG_SLIDER

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

@ -189,8 +189,10 @@ pref("nglayout.events.dispatchLeftClickOnly", true);
// whether or not to use xbl form controls
pref("nglayout.debug.enable_xbl_forms", false);
// size of scrollbar snapping region
pref("slider.snapMultiplier", 6);
// scrollbar snapping region
// 0 - off
// 1 and higher - slider thickness multiple
pref("slider.snapMultiplier", 0);
// option to choose plug-in finder
pref("application.use_ns_plugin_finder", false);
@ -1342,6 +1344,9 @@ pref("ui.key.menuAccessKeyFocuses", true);
// override double-click word selection behavior.
pref("layout.word_select.eat_space_to_next_word", true);
// scrollbar snapping region
pref("slider.snapMultiplier", 6);
// print_extra_margin enables platforms to specify an extra gap or margin
// around the content of the page for Print Preview only
pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
@ -1743,9 +1748,6 @@ pref("netinst.profile.show_profile_wizard", true);
pref("middlemouse.paste", true);
// turn off scrollbar snapping
pref("slider.snapMultiplier", 0);
// override double-click word selection behavior.
pref("layout.word_select.eat_space_to_next_word", true);
pref("layout.word_select.stop_at_punctuation", false);
@ -1900,9 +1902,6 @@ pref("layout.word_select.stop_at_punctuation", false);
pref("autocomplete.grab_during_popup", true);
pref("autocomplete.ungrab_during_mode_switch", true);
// turn off scrollbar snapping
pref("slider.snapMultiplier", 0);
// Default to using the system filepicker if possible, but allow
// toggling to use the XUL filepicker
pref("ui.allow_platform_file_picker", true);