From 120457c798f3af3e2d020b715955fc04f8143e01 Mon Sep 17 00:00:00 2001
From: Joshua Sheridan <josh@joshuasheridan.com>
Date: Fri, 31 Mar 2023 22:33:04 -0400
Subject: Add feature - zoom in and out

---
 electron/src/renderer/components/Simulator.vue | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

(limited to 'electron/src/renderer/components/Simulator.vue')

diff --git a/electron/src/renderer/components/Simulator.vue b/electron/src/renderer/components/Simulator.vue
index 22b25446..55cea963 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 selection</translate>
+                  </p>
+                  <p>
+                    <translate>] Right square bracket</translate>
+                  </p>
+                </div>
             </div>
           </collapse-transition>
         </div>
-- 
cgit v1.2.3


From 3b69c82f70fef245ee9613c28fb98256a6230913 Mon Sep 17 00:00:00 2001
From: Joshua Sheridan <josh@joshuasheridan.com>
Date: Fri, 31 Mar 2023 22:53:18 -0400
Subject: Add buttons in simulator

---
 electron/src/renderer/components/Simulator.vue | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'electron/src/renderer/components/Simulator.vue')

diff --git a/electron/src/renderer/components/Simulator.vue b/electron/src/renderer/components/Simulator.vue
index 55cea963..495f1c4c 100644
--- a/electron/src/renderer/components/Simulator.vue
+++ b/electron/src/renderer/components/Simulator.vue
@@ -213,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="zoomSelection" :title="$gettext('Zoom selection (])')">
+              <font-awesome-icon icon="search-plus" size="2x" class="fa-button"/>
+            </button>
+          </fieldset>
           <fieldset class="command">
             <legend>
               <translate>Command</translate>
-- 
cgit v1.2.3


From ec55bc58b2427b1bb4db199f7b29fd4dab28516f Mon Sep 17 00:00:00 2001
From: Joshua Sheridan <josh@joshuasheridan.com>
Date: Sun, 2 Apr 2023 10:25:34 -0400
Subject: Rename zoomselection to zoomdesign

---
 electron/src/renderer/components/Simulator.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'electron/src/renderer/components/Simulator.vue')

diff --git a/electron/src/renderer/components/Simulator.vue b/electron/src/renderer/components/Simulator.vue
index 495f1c4c..bbcb5138 100644
--- a/electron/src/renderer/components/Simulator.vue
+++ b/electron/src/renderer/components/Simulator.vue
@@ -156,7 +156,7 @@
                     <font-awesome-icon icon="search-plus" class="fa-button"/>
                   </p>
                   <p>
-                    <translate>Zoom selection</translate>
+                    <translate>Zoom design</translate>
                   </p>
                   <p>
                     <translate>] Right square bracket</translate>
@@ -220,7 +220,7 @@
             <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="zoomSelection" :title="$gettext('Zoom selection (])')">
+            <button v-on:click="zoomDesign" :title="$gettext('Zoom design (])')">
               <font-awesome-icon icon="search-plus" size="2x" class="fa-button"/>
             </button>
           </fieldset>
-- 
cgit v1.2.3

