For Bug 51795
This commit is contained in:
parent
39239c81f4
commit
933cd07085
|
@ -49,8 +49,8 @@ define([
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
Common.UI.ComboBoxFonts = Common.UI.ComboBox.extend((function() {
|
Common.UI.ComboBoxFonts = Common.UI.ComboBox.extend((function() {
|
||||||
var iconWidth = 302,
|
var iconWidth = 300,
|
||||||
iconHeight = Asc.FONT_THUMBNAIL_HEIGHT || 26,
|
iconHeight = Asc.FONT_THUMBNAIL_HEIGHT || 28,
|
||||||
thumbCanvas = document.createElement('canvas'),
|
thumbCanvas = document.createElement('canvas'),
|
||||||
thumbContext = thumbCanvas.getContext('2d'),
|
thumbContext = thumbCanvas.getContext('2d'),
|
||||||
thumbs = [
|
thumbs = [
|
||||||
|
@ -61,7 +61,7 @@ define([
|
||||||
{ratio: 2, path: '../../../../sdkjs/common/Images/fonts_thumbnail@2x.png', width: iconWidth * 2, height: iconHeight * 2}
|
{ratio: 2, path: '../../../../sdkjs/common/Images/fonts_thumbnail@2x.png', width: iconWidth * 2, height: iconHeight * 2}
|
||||||
],
|
],
|
||||||
thumbIdx = 0,
|
thumbIdx = 0,
|
||||||
listItemHeight = 26,
|
listItemHeight = 28,
|
||||||
spriteCols = 1,
|
spriteCols = 1,
|
||||||
applicationPixelRatio = Common.Utils.applicationPixelRatio();
|
applicationPixelRatio = Common.Utils.applicationPixelRatio();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue