Fix Bug 34795.

This commit is contained in:
Julia Radzhabova 2017-06-01 17:00:38 +03:00
parent f69672d245
commit fa67f2a1cc
2 changed files with 4 additions and 0 deletions

View file

@ -232,6 +232,7 @@ define([
minScrollbarLength: 40, minScrollbarLength: 40,
scrollYMarginOffset: 30, scrollYMarginOffset: 30,
includePadding: true, includePadding: true,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible alwaysVisibleY: this.scrollAlwaysVisible
}, this.options.scroller)); }, this.options.scroller));
} }
@ -256,6 +257,7 @@ define([
minScrollbarLength: 40, minScrollbarLength: 40,
scrollYMarginOffset: 30, scrollYMarginOffset: 30,
includePadding: true, includePadding: true,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible alwaysVisibleY: this.scrollAlwaysVisible
}, this.options.scroller)); }, this.options.scroller));
} }
@ -567,6 +569,7 @@ define([
minScrollbarLength : 40, minScrollbarLength : 40,
scrollYMarginOffset: 30, scrollYMarginOffset: 30,
includePadding : true, includePadding : true,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible alwaysVisibleY: this.scrollAlwaysVisible
}, this.options.scroller)); }, this.options.scroller));
} }

View file

@ -87,6 +87,7 @@ define([
Common.UI.ComboBox.prototype.initialize.call(this, _.extend(options, { Common.UI.ComboBox.prototype.initialize.call(this, _.extend(options, {
displayField: 'name', displayField: 'name',
scroller: { scroller: {
wheelSpeed: 20,
alwaysVisibleY: true, alwaysVisibleY: true,
onChange: this.updateVisibleFontsTiles.bind(this) onChange: this.updateVisibleFontsTiles.bind(this)
} }