|
@@ -2,8 +2,9 @@ import * as utils from '../../share/utils';
|
|
|
import googleFonts from './fonts/fonts.json';
|
|
|
|
|
|
const readerActions = {
|
|
|
- 'help': 'Вызвать cправку',
|
|
|
'loader': 'На страницу загрузки',
|
|
|
+ 'loadFile': 'Загрузить файл с диска',
|
|
|
+ 'help': 'Вызвать cправку',
|
|
|
'settings': 'Настроить',
|
|
|
'undoAction': 'Действие назад',
|
|
|
'redoAction': 'Действие вперед',
|
|
@@ -35,6 +36,7 @@ const readerActions = {
|
|
|
|
|
|
//readerActions[name]
|
|
|
const toolButtons = [
|
|
|
+ {name: 'loadFile', show: true},
|
|
|
{name: 'help', show: true},
|
|
|
{name: 'undoAction', show: true},
|
|
|
{name: 'redoAction', show: true},
|
|
@@ -53,8 +55,9 @@ const toolButtons = [
|
|
|
|
|
|
//readerActions[name]
|
|
|
const hotKeys = [
|
|
|
- {name: 'help', codes: ['F1', 'H']},
|
|
|
{name: 'loader', codes: ['Escape']},
|
|
|
+ {name: 'loadFile', codes: ['F3']},
|
|
|
+ {name: 'help', codes: ['F1', 'H']},
|
|
|
{name: 'settings', codes: ['S']},
|
|
|
{name: 'undoAction', codes: ['Ctrl+BracketLeft']},
|
|
|
{name: 'redoAction', codes: ['Ctrl+BracketRight']},
|