Show page width

This commit is contained in:
Simon Bruder 2019-12-22 21:17:17 +00:00
parent 04569cb8e0
commit 772be9d1d1
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -12,6 +12,7 @@
<p>{{ page + 1 }}/{{ info.pages.length }}</p>
<p>
<button :disabled="originalPageWidth" v-on:click="changePageWidth(-5)">-</button>
<span>{{ pageWidth }}</span>
<button :disabled="originalPageWidth" v-on:click="changePageWidth(5)">+</button>
<br/>
<button v-on:click="originalPageWidth = !originalPageWidth">{{ originalPageWidth ? 'fixed width' : '1:1' }}</button>