emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/autothemer 9fe64dd3cd 14/29: Page placement looks better,


From: ELPA Syncer
Subject: [nongnu] elpa/autothemer 9fe64dd3cd 14/29: Page placement looks better, needs polishing
Date: Sun, 28 Aug 2022 22:58:46 -0400 (EDT)

branch: elpa/autothemer
commit 9fe64dd3cd3272b4111a31243f4d6ff47f0e10ff
Author: jasonm23 <jasonm23@gmail.com>
Commit: jasonm23 <jasonm23@gmail.com>

    Page placement looks better, needs polishing
---
 autothemer.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/autothemer.el b/autothemer.el
index a29a96d4f9..c1d2fb49ad 100644
--- a/autothemer.el
+++ b/autothemer.el
@@ -570,11 +570,11 @@ Swatch Template parameters:
 
             (rows (/ (length colors) columns))
             (width (+ page-right-margin page-left-margin
-                      (* (- 1 columns) h-space)
-                      (* columns swatch-width)))
+                      (* h-space columns)
+                      (* swatch-width columns)))
             (height (+ page-top-margin page-bottom-margin
-                       (* v-space (- 1 rows))
-                       (* rows swatch-height)))
+                       (* v-space rows)
+                       (* swatch-height (+ 1 rows))))
 
             (background-color    (or bg-color            
(autothemer--color-value (autothemer--select-color "Select Background color: 
"))))
             (text-color          (or text-color          
(autothemer--color-value (autothemer--select-color "Select Text color: "))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]