summaryrefslogtreecommitdiff
path: root/electron/src/renderer/components/Simulator.vue
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2023-04-15 21:56:23 -0400
committerGitHub <noreply@github.com>2023-04-15 21:56:23 -0400
commitc94ed73b4e859d64e8419f87dcaa1b44c4577408 (patch)
tree06390f4eada8f152003cd9c7fc32d6db960a6e2a /electron/src/renderer/components/Simulator.vue
parent6504c72fb73927151c10edcd5e891af53b36826c (diff)
parentec55bc58b2427b1bb4db199f7b29fd4dab28516f (diff)
Merge pull request #2189 from inkstitch/jooshkins/addzoomtosim
Add zoom to page and zoom to selection to simulator
Diffstat (limited to 'electron/src/renderer/components/Simulator.vue')
-rw-r--r--electron/src/renderer/components/Simulator.vue33
1 files changed, 33 insertions, 0 deletions
diff --git a/electron/src/renderer/components/Simulator.vue b/electron/src/renderer/components/Simulator.vue
index 22b25446..bbcb5138 100644
--- a/electron/src/renderer/components/Simulator.vue
+++ b/electron/src/renderer/components/Simulator.vue
@@ -140,6 +140,28 @@
</p>
</div>
</div>
+ <div>
+ <p>
+ <font-awesome-icon icon="search-minus" class="fa-button"/>
+ </p>
+ <p>
+ <translate>Zoom page</translate>
+ </p>
+ <p>
+ <translate>[ Left square bracket</translate>
+ </p>
+ </div>
+ <div>
+ <p>
+ <font-awesome-icon icon="search-plus" class="fa-button"/>
+ </p>
+ <p>
+ <translate>Zoom design</translate>
+ </p>
+ <p>
+ <translate>] Right square bracket</translate>
+ </p>
+ </div>
</div>
</collapse-transition>
</div>
@@ -191,6 +213,17 @@
<font-awesome-icon icon="horse" size="2x" class="fa-button fa-fast"/>
</button>
</fieldset>
+ <fieldset class="view">
+ <legend>
+ <translate>View</translate>
+ </legend>
+ <button v-on:click="zoomPage" :title="$gettext('Zoom page ([)')">
+ <font-awesome-icon icon="search-minus" size="2x" class="fa-button"/>
+ </button>
+ <button v-on:click="zoomDesign" :title="$gettext('Zoom design (])')">
+ <font-awesome-icon icon="search-plus" size="2x" class="fa-button"/>
+ </button>
+ </fieldset>
<fieldset class="command">
<legend>
<translate>Command</translate>