Improve behaviour of text filtering
- Make only the text itself clickable - Stop propagation of the event any further, preventing the trace from also being toggled.
This commit is contained in:
parent
45a58550be
commit
48f17700d3
|
@ -172,14 +172,18 @@
|
|||
nil)}}
|
||||
[:td {:style row-style}
|
||||
[:button (if show-row? "▼" "▶")]]
|
||||
[:td {:style row-style
|
||||
:on-click #(save-query op-type)}
|
||||
[:td {:style row-style}
|
||||
[:div.op-string
|
||||
(str op-type)]]
|
||||
[:td {:style row-style
|
||||
:on-click #(save-query op-name)}
|
||||
[:span {:on-click (fn [ev]
|
||||
(save-query op-type)
|
||||
(.stopPropagation ev))
|
||||
:style {:cursor "pointer"}} (str op-type)]]]
|
||||
[:td {:style row-style}
|
||||
[:div.op-string
|
||||
op-name]]
|
||||
[:span {:on-click (fn [ev]
|
||||
(save-query op-name)
|
||||
(.stopPropagation ev))
|
||||
:style {:cursor "pointer"}}] op-name]]
|
||||
[:td
|
||||
{:style (merge row-style {
|
||||
; :font-weight (if (< slower-than-bold-int duration)
|
||||
|
|
Loading…
Reference in New Issue