From e2f86ace350e47754e61cad3d32c1b52597416e9 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Thu, 1 Feb 2018 17:15:56 +0300 Subject: [PATCH] in button added icon for 150% of zoom --- apps/common/main/lib/component/Button.js | 3 +- apps/common/main/lib/view/Header.js | 5 ++- .../main/resources/img/header/buttons150.svg | 24 +++++++++++ apps/common/main/resources/less/buttons.less | 40 +++++++++++++++++++ apps/documenteditor/main/index.html | 1 + 5 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 apps/common/main/resources/img/header/buttons150.svg diff --git a/apps/common/main/lib/component/Button.js b/apps/common/main/lib/component/Button.js index e55b50942..57cfac85d 100644 --- a/apps/common/main/lib/component/Button.js +++ b/apps/common/main/lib/component/Button.js @@ -190,7 +190,8 @@ define([ // '<% if (iconCls != "") { print(\' \'); }} %>', '<% if (iconCls != "") { ' + ' if (/svgicon/.test(iconCls)) {' + - 'print(\'\');' + + 'print(\'' + + '\');' + '} else ' + 'print(\' \'); ' + '}} %>', diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js index 792c70ff7..0ce0f489e 100644 --- a/apps/common/main/lib/view/Header.js +++ b/apps/common/main/lib/view/Header.js @@ -83,7 +83,10 @@ define([ // '' + '