Commit edf29496 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(widget-image-insert): Don't merge mouse-face with neighbouring buttons.

parent 176c6903
......@@ -656,7 +656,9 @@ button is pressed or inactive, respectively. These are currently ignored."
(progn (widget-put widget :suppress-face t)
(insert-image image
(propertize
tag 'mouse-face widget-button-pressed-face)))
;; Use a `list' so it's unique and won't get
;; accidentally merged with neighbouring images.
tag 'mouse-face (list widget-button-pressed-face))))
(insert tag)))
(defun widget-move-and-invoke (event)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment