[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide fd7acfa477 186/230: fix item reveal progress indica
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide fd7acfa477 186/230: fix item reveal progress indication (broken a bit in recent rewrite) |
Date: |
Sun, 7 Jul 2024 19:00:35 -0400 (EDT) |
branch: elpa/dslide
commit fd7acfa4776a719209564dde951874b1574cdc48
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
fix item reveal progress indication (broken a bit in recent rewrite)
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
dslide.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/dslide.el b/dslide.el
index a6cac966db..7b3e79b161 100644
--- a/dslide.el
+++ b/dslide.el
@@ -1205,7 +1205,8 @@ for `dslide-contents-map'."
(cl-defmethod dslide-forward ((obj dslide-action-item-reveal))
;; Item reveal / hide repeats in place, so we pass a final t to
;; `dslide-section-next'.
- (when-let* ((next-item (dslide-section-next obj 'item nil t)))
+ (when-let* ((next-item (dslide-section-next obj 'item nil t))
+ (progress (org-element-property :begin next-item)))
(let ((item-overlays (seq-intersection (oref obj overlays)
(overlays-at (org-element-property
:begin next-item)))))
@@ -1222,14 +1223,15 @@ for `dslide-contents-map'."
;; from some other action
(mapc #'delete-overlay item-overlays))))
;; return progress
- (oref obj marker)))
+ progress))
(cl-defmethod dslide-backward ((obj dslide-action-item-reveal))
- (when-let ((previous-item (dslide-section-previous obj 'item)))
+ (when-let ((previous-item (dslide-section-previous obj 'item))
+ (progress (org-element-property :begin previous-item)))
(push (dslide-hide-element previous-item (oref obj inline))
(oref obj overlays))
;; return progress
- (oref obj marker)))
+ progress))
;; ** Babel Action
- [nongnu] elpa/dslide 76ff3c1b06 151/230: - dumping off some minor cleanup line noise, (continued)
- [nongnu] elpa/dslide 76ff3c1b06 151/230: - dumping off some minor cleanup line noise, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide bdc16a2b5d 148/230: multiple animation timers, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ccb8064891 152/230: ensure-slide-buffer only displays when not already displayed, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide cd785d24b3 160/230: Override default dbase-end implementation for image action, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 24253f64c0 157/230: introducing reverse-in-place, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide dbcf00d38d 161/230: allow inclusive matching in section mapping, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide df1fca1b87 167/230: animations are set up without restriction, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 659a5d1429 169/230: inline child action overhaul. much better, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 90f9ff272d 175/230: correcting some mininformation, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0f123e3638 177/230: Rename DSLIDE_SECTION_ACTIONS -> DSLIDE_ACTIONS, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide fd7acfa477 186/230: fix item reveal progress indication (broken a bit in recent rewrite),
ELPA Syncer <=
- [nongnu] elpa/dslide afff88a6ca 202/230: Update following buffers even in different frames, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 57eca5d498 203/230: dslide-develop initialization was not quite complete, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 8a893d858b 215/230: Proper generic methods for eldoc completions, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 8f2a651695 212/230: cleanups-for-elpa, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 299a4de7da 220/230: replace video link with github asset, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 164392855b 227/230: Small fixups for the readme rendering, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 6de2d70e6a 086/230: Clean up any pushed callbacks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide fb9c054977 069/230: Switch back to a non-development Org mode lol, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1e94907060 126/230: custom action in demo, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d365e64660 098/230: suppress animations in end method of inline child action, ELPA Syncer, 2024/07/07