Небольшие изменения блокирования кнопок панели
This commit is contained in:
@@ -719,15 +719,16 @@ class Reader extends Vue {
|
|||||||
case 'scrolling':
|
case 'scrolling':
|
||||||
case 'search':
|
case 'search':
|
||||||
case 'copyText':
|
case 'copyText':
|
||||||
case 'recentBooks':
|
case 'refresh':
|
||||||
case 'offlineMode':
|
case 'offlineMode':
|
||||||
|
case 'recentBooks':
|
||||||
case 'settings':
|
case 'settings':
|
||||||
if (this[`${button}Active`])
|
if (this.progressActive) {
|
||||||
|
classResult = classDisabled;
|
||||||
|
} else if (this[`${button}Active`]) {
|
||||||
classResult = classActive;
|
classResult = classActive;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
switch (button) {
|
|
||||||
case 'undoAction':
|
case 'undoAction':
|
||||||
if (this.actionCur <= 0)
|
if (this.actionCur <= 0)
|
||||||
classResult = classDisabled;
|
classResult = classDisabled;
|
||||||
|
|||||||
Reference in New Issue
Block a user