Добавлен новый вариант анимации перелистывания - листание

This commit is contained in:
Book Pauk
2019-06-23 15:51:55 +07:00
parent 074ef3645f
commit d9c389812a
4 changed files with 37 additions and 4 deletions

View File

@@ -382,6 +382,7 @@
<el-option label="Протаивание" value="thaw"></el-option>
<el-option label="Мерцание" value="blink"></el-option>
<el-option label="Вращение" value="rotate"></el-option>
<el-option v-show="wallpaper == ''" label="Листание" value="flip"></el-option>
</el-select>
</el-col>
</el-form-item>
@@ -540,6 +541,10 @@ export default @Component({
const font = (newValue ? newValue : this.fontName);
this.vertShift = this.fontShifts[font] || 0;
},
wallpaper: function(newValue) {
if (newValue != '' && this.pageChangeAnimation == 'flip')
this.pageChangeAnimation = '';
},
},
})
class SettingsPage extends Vue {