Fix hints for styles list
This commit is contained in:
parent
754bc9c8bc
commit
302db500de
|
@ -252,7 +252,7 @@ Common.UI.HintManager = new(function() {
|
|||
|
||||
var _getHints = function() {
|
||||
var docH = Common.Utils.innerHeight() - 20,
|
||||
docW = Common.Utils.innerWidth() - 20,
|
||||
docW = Common.Utils.innerWidth(),
|
||||
topSection = _currentLevel !== 0 && $(_currentSection).length > 0 ? $(_currentSection).offset().top : 0,
|
||||
bottomSection = _currentLevel !== 0 && $(_currentSection).length > 0 ? topSection + $(_currentSection).height() : docH;
|
||||
|
||||
|
|
|
@ -1303,7 +1303,7 @@ define([
|
|||
// hint : this.tipParagraphStyle,
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: '-16, 0',
|
||||
dataHintOffset: '-16, -4',
|
||||
enableKeyEvents: true,
|
||||
additionalMenuItems: [this.listStylesAdditionalMenuItem],
|
||||
beforeOpenHandler: function (e) {
|
||||
|
|
|
@ -1001,7 +1001,7 @@ define([
|
|||
lock: [_set.themeLock, _set.lostConnect, _set.noSlides],
|
||||
dataHint: '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: '-16, 0',
|
||||
dataHintOffset: '-16, -4',
|
||||
beforeOpenHandler: function (e) {
|
||||
var cmp = this,
|
||||
menu = cmp.openButton.menu,
|
||||
|
|
|
@ -908,7 +908,7 @@ define([
|
|||
lock : [_set.editCell, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selSlicer, _set.lostConnect, _set.coAuth, _set['FormatCells']],
|
||||
dataHint : '1',
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset : '-16, 0',
|
||||
dataHintOffset : '-16, -4',
|
||||
beforeOpenHandler: function(e) {
|
||||
var cmp = this,
|
||||
menu = cmp.openButton.menu,
|
||||
|
|
Loading…
Reference in a new issue