Skip to content

Commit

Permalink
image action delegates to begin to display images
Browse files Browse the repository at this point in the history
whenever going backwards, if the images are not loaded already, this will load
them

might be smarter to load images at the beginning of presentation, although the
user can control this via hooks.  might result in cleaner animation

Signed-off-by: Psionik K <[email protected]>
  • Loading branch information
psionic-k committed May 25, 2024
1 parent 9687c5e commit 48bd59b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dslide.el
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,8 @@ stateful-sequence class methods. METHOD-NAME is a string."
(org-element-property :begin link)))

(cl-defmethod dslide-end ((obj dslide-action-image))
(dslide-marker obj (org-element-property :end (dslide-heading obj))))
(dslide-marker obj (org-element-property :end (dslide-heading obj)))
(dslide-begin obj))

;; * Child Actions
(defclass dslide-child-action (dslide-action) ()
Expand Down

0 comments on commit 48bd59b

Please sign in to comment.