Merge branch 'release/0.4.3'
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
placeholder="Найти"/-->
|
placeholder="Найти"/-->
|
||||||
<div class="el-input el-input--mini">
|
<div class="el-input el-input--mini">
|
||||||
<input class="el-input__inner"
|
<input class="el-input__inner"
|
||||||
|
ref="input"
|
||||||
placeholder="Найти"
|
placeholder="Найти"
|
||||||
style="margin: 0; padding: 0; vertical-align: bottom; margin-top: 20px; padding: 0 10px 0 10px"
|
style="margin: 0; padding: 0; vertical-align: bottom; margin-top: 20px; padding: 0 10px 0 10px"
|
||||||
:value="search" @input="search = $event.target.value"
|
:value="search" @input="search = $event.target.value"
|
||||||
@@ -118,9 +119,12 @@ class HistoryPage extends Vue {
|
|||||||
created() {
|
created() {
|
||||||
}
|
}
|
||||||
|
|
||||||
mounted() {
|
init() {
|
||||||
this.updateTableData();
|
this.updateTableData();
|
||||||
this.mostRecentBook = bookManager.mostRecentBook();
|
this.mostRecentBook = bookManager.mostRecentBook();
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.input.focus();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTableData() {
|
updateTableData() {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
@stop-text-search="stopTextSearch">
|
@stop-text-search="stopTextSearch">
|
||||||
</SearchPage>
|
</SearchPage>
|
||||||
<CopyTextPage v-if="copyTextActive" ref="copyTextPage" @copy-text-toggle="copyTextToggle"></CopyTextPage>
|
<CopyTextPage v-if="copyTextActive" ref="copyTextPage" @copy-text-toggle="copyTextToggle"></CopyTextPage>
|
||||||
<HistoryPage v-if="historyActive" ref="historyPage" @load-book="loadBook" @history-toggle="historyToggle"></HistoryPage>
|
<HistoryPage v-show="historyActive" ref="historyPage" @load-book="loadBook" @history-toggle="historyToggle"></HistoryPage>
|
||||||
<SettingsPage v-if="settingsActive" ref="settingsPage" @settings-toggle="settingsToggle"></SettingsPage>
|
<SettingsPage v-if="settingsActive" ref="settingsPage" @settings-toggle="settingsToggle"></SettingsPage>
|
||||||
<HelpPage v-if="helpActive" ref="helpPage" @help-toggle="helpToggle"></HelpPage>
|
<HelpPage v-if="helpActive" ref="helpPage" @help-toggle="helpToggle"></HelpPage>
|
||||||
<ClickMapPage v-show="clickMapActive" ref="clickMapPage"></ClickMapPage>
|
<ClickMapPage v-show="clickMapActive" ref="clickMapPage"></ClickMapPage>
|
||||||
@@ -415,6 +415,7 @@ class Reader extends Vue {
|
|||||||
this.historyActive = !this.historyActive;
|
this.historyActive = !this.historyActive;
|
||||||
if (this.historyActive) {
|
if (this.historyActive) {
|
||||||
this.closeAllTextPages();
|
this.closeAllTextPages();
|
||||||
|
this.$refs.historyPage.init();
|
||||||
this.historyActive = true;
|
this.historyActive = true;
|
||||||
} else {
|
} else {
|
||||||
this.historyActive = false;
|
this.historyActive = false;
|
||||||
@@ -831,6 +832,8 @@ class Reader extends Vue {
|
|||||||
break;
|
break;
|
||||||
case 'KeyX':
|
case 'KeyX':
|
||||||
this.historyToggle();
|
this.historyToggle();
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
case 'KeyS':
|
case 'KeyS':
|
||||||
this.settingsToggle();
|
this.settingsToggle();
|
||||||
|
|||||||
@@ -212,7 +212,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="">
|
<el-form-item label="">
|
||||||
Размер изображения
|
<el-col :span="12">
|
||||||
|
Размер не более
|
||||||
|
</el-col>
|
||||||
<el-tooltip :open-delay="500" effect="light" placement="top">
|
<el-tooltip :open-delay="500" effect="light" placement="top">
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
Определяет высоту изображения количеством строк.<br>
|
Определяет высоту изображения количеством строк.<br>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Liberama",
|
"name": "Liberama",
|
||||||
"version": "0.4.2",
|
"version": "0.4.3",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user