fix tp 'pointer 'hander

This commit is contained in:
Kinneyzhang 2026-01-08 10:43:21 +08:00
parent 9d97430d62
commit 041f53025e

5
tp.el
View File

@ -4864,8 +4864,7 @@ e.g.3 (tp-parse-color '(:light \"red\" :dark \"green\"))"
(define-tp tp-button (type)
(let ((palette (intern
(format "%s%s%s" "button-" (symbol-name type) "-fbg"))))
`( tp-palette ,palette
mouse-face highlight cursor hand
`( tp-palette ,palette pointer hand
face (:box ( :line-width -1
:style released-button)))))
@ -4880,7 +4879,7 @@ e.g.3 (tp-parse-color '(:light \"red\" :dark \"green\"))"
`( tp-underline ,color
tp-palette info-fg
mouse-face highlight
cursor hand)))
pointer hand)))
(define-tp tp-space (width)
`(display (space :width ,width)))