From fa67f2a1cca212c55259b36301b13554233de48e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 1 Jun 2017 17:00:38 +0300 Subject: [PATCH] Fix Bug 34795. --- apps/common/main/lib/component/ComboBox.js | 3 +++ apps/common/main/lib/component/ComboBoxFonts.js | 1 + 2 files changed, 4 insertions(+) diff --git a/apps/common/main/lib/component/ComboBox.js b/apps/common/main/lib/component/ComboBox.js index b250ce10f..612729bb2 100644 --- a/apps/common/main/lib/component/ComboBox.js +++ b/apps/common/main/lib/component/ComboBox.js @@ -232,6 +232,7 @@ define([ minScrollbarLength: 40, scrollYMarginOffset: 30, includePadding: true, + wheelSpeed: 10, alwaysVisibleY: this.scrollAlwaysVisible }, this.options.scroller)); } @@ -256,6 +257,7 @@ define([ minScrollbarLength: 40, scrollYMarginOffset: 30, includePadding: true, + wheelSpeed: 10, alwaysVisibleY: this.scrollAlwaysVisible }, this.options.scroller)); } @@ -567,6 +569,7 @@ define([ minScrollbarLength : 40, scrollYMarginOffset: 30, includePadding : true, + wheelSpeed: 10, alwaysVisibleY: this.scrollAlwaysVisible }, this.options.scroller)); } diff --git a/apps/common/main/lib/component/ComboBoxFonts.js b/apps/common/main/lib/component/ComboBoxFonts.js index e58f26d70..cad09b845 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -87,6 +87,7 @@ define([ Common.UI.ComboBox.prototype.initialize.call(this, _.extend(options, { displayField: 'name', scroller: { + wheelSpeed: 20, alwaysVisibleY: true, onChange: this.updateVisibleFontsTiles.bind(this) }