[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 513b1109fb 06/16: Get rid of erroneous step padding
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 513b1109fb 06/16: Get rid of erroneous step padding in simple slide images |
Date: |
Mon, 25 Nov 2024 01:00:01 -0500 (EST) |
branch: elpa/dslide
commit 513b1109fbf1de25396c403ce3e32baac2a59068
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
Get rid of erroneous step padding in simple slide images
Return value needed to depend on the options to correctly avoid adding steps
when there is no standalone display or reveal going on.
---
dslide.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dslide.el b/dslide.el
index 277f05decc..e0818876c2 100644
--- a/dslide.el
+++ b/dslide.el
@@ -1674,7 +1674,8 @@ Only affects standalone-display.")
(oset obj overlays (seq-difference (oref obj overlays)
link-overlays))
(mapc #'delete-overlay link-overlays)))
- (org-element-property :end link))))
+ (when (or standalone-display in-place)
+ (org-element-property :end link)))))
(cl-defmethod dslide-backward ((obj dslide-action-image))
;; When just revealing images without doing standalone display, we can
@@ -1714,7 +1715,10 @@ Only affects standalone-display.")
(overlay-put overlay 'invisible t)
(overlay-put overlay 'priority 1000)
(push overlay (oref obj overlays))))
- (org-element-property :begin link))))
+
+ (when (or standalone-display
+ slide-display)
+ (org-element-property :begin link)))))
(cl-defmethod dslide-final :after ((obj dslide-action-image))
(mapc #'delete-overlay (oref obj overlays)))
- [nongnu] elpa/dslide updated (552e63c6ac -> 0d9a1f6c27), ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 513b1109fb 06/16: Get rid of erroneous step padding in simple slide images,
ELPA Syncer <=
- [nongnu] elpa/dslide 8b4336db4d 02/16: use the current slide's filter, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 6d9ebfb79a 08/16: clean up propertize action for showing off, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide f59c85784c 11/16: Aha! image-keyword interplay fixed, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 10b1386cf4 03/16: Hide the newline after each affiliated keyword, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide d2217bc74f 07/16: Quick fix for TODO and tag hiding in contents, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 91652de16a 15/16: Bug fix for reverse-in-place (!), ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 7949a5f337 09/16: Hiding filtered headings needs to collapse display completely, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide ad7f189032 10/16: reverse action list when going backwards or starting at the end, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 0e027e0527 04/16: Clip newline from text property action overlay region, ELPA Syncer, 2024/11/25
- [nongnu] elpa/dslide 1aa45a2223 05/16: Only cleanup overlays in finish, only for this slide, ELPA Syncer, 2024/11/25