[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 541c7d80d9 103/195: Corrected axis algorith
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 541c7d80d9 103/195: Corrected axis algorithm |
Date: |
Wed, 5 Jan 2022 02:59:30 -0500 (EST) |
branch: elpa/telephone-line
commit 541c7d80d936ffcc75b5a38fe506366e9a146c5c
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>
Corrected axis algorithm
---
telephone-line-utils.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index 0ad4051fdf..e5eed5e8b0 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -149,7 +149,7 @@ color1 and color2."
(cl-defmethod telephone-line-separator-width ((obj telephone-line-separator))
(or (oref obj forced-width)
- (ceiling (telephone-line-separator-height obj) 2)))
+ (1- (ceiling (telephone-line-separator-height obj) 2))))
(defclass telephone-line-subseparator (telephone-line-separator)
((pattern-func :initarg :pattern-func
@@ -162,7 +162,7 @@ color1 and color2."
(normalized-axis (telephone-line--normalize-axis
(mapcar (oref obj axis-func)
(telephone-line-create-axis height))))
- (range (1+ (seq-max normalized-axis)))
+ (range (seq-max normalized-axis))
(scaling-factor (/ width (float range))))
(mapcar (lambda (x)
(funcall (oref obj pattern-func)
- [nongnu] elpa/telephone-line 3bb5cee841 074/195: Update readme.org, (continued)
- [nongnu] elpa/telephone-line 3bb5cee841 074/195: Update readme.org, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line f5a1d0cbd2 057/195: Move over to new OO separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line cac54930a1 115/195: Improve even heights., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 105defac6e 100/195: Remove telephone-line-trim, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0fec3265a0 118/195: Fix terminology before it's too late., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bf0e4394ec 104/195: Previous fix didn't account for hollow separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2906d39401 116/195: Oops, don't want accidental rounding., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 909c1779e4 089/195: Fixed rainbow face examples, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line aa2c6840c9 107/195: Add separator gallery, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 09ff89a090 110/195: Add alias for modal colorsym, rename tl-evil-face to tl-modal-face, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 541c7d80d9 103/195: Corrected axis algorithm,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 0715ee7d15 064/195: Fix Readme formatting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5c47442844 083/195: Update readme + screenshots, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 30225c9778 069/195: Fix Emacs 25, oops, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 8b3c9499bf 051/195: Oops, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5766b1b21f 033/195: Merge pull request #11 from ryanprior/patch-1, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0d15e2882b 002/195: Add the fruits of my labor, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 09997c1aee 006/195: Cleanup, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 06887f2440 001/195: Initial commit, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5919a8e296 003/195: Fix package info, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 303cc3a1cd 010/195: Use cl-lib function instead of cl.el, ELPA Syncer, 2022/01/05