summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index 2ea3e38..b119085 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -497,8 +497,8 @@ The PADDING around the nodes in the viewport."
(interactive)
(if-let ((node (or id (org-roam-id-at-point))))
(websocket-send-text org-roam-ui-ws-socket (json-encode `((type . "command") (data .
- ((commandName . "zoom") (id . ,node) (speed . ,speed) (padding . ,padding)))))))
- (message "No node found."))
+ ((commandName . "zoom") (id . ,node) (speed . ,speed) (padding . ,padding))))))
+ (message "No node found.")))
;;;###autoload
@@ -508,8 +508,8 @@ Optionally with ID (string), SPEED (number, ms) and PADDING (number, px)."
(interactive)
(if-let ((node (or id (org-roam-id-at-point))))
(websocket-send-text org-roam-ui-ws-socket (json-encode `((type . "command") (data .
- ((commandName . "local") (id . ,node) (speed . ,speed) (padding . ,padding)))))))
- (message "No node found."))
+ ((commandName . "local") (id . ,node) (speed . ,speed) (padding . ,padding))))))
+ (message "No node found.")))
;;;###autoload
(defun org-roam-ui-sync-theme ()