▾ modified common/frq/screens/chat.cljc +7 -2 Viewed
@@ -1300,9 +1300,14 @@ 1300 1300 ;; and without this Send would look like it was about to say it twice. 1301 1301 [:vbox {:key :editing} 1302 1302 (when @cells/editing 1303 + ;; The pencil is a picture and not a character in the label: a label is 1304 + ;; set in the text font, which has no emoji in it, so the banner opened 1305 + ;; with tofu where the reply banner above opens with a ↩ the font does 1306 + ;; have. Same split `run-node` makes for an emoji anybody types. 1303 1307 [:hbox {:spacing 8} 1304 - [:dim-label {:label "✏️ Editing your message"}] 1305 - [:button {:label "✕" :on-click actions/cancel-edit!}]])] 1308 + [:emoji {:key :pencil :emoji "✏️" :size text-emoji-size}] 1309 + [:dim-label {:key :label :label "Editing your message"}] 1310 + [:button {:key :cancel :label "✕" :on-click actions/cancel-edit!}]])] 1306 1311 ;; The pasted picture, above the line it will go out with. Shown rather 1307 1312 ;; than written into the draft: what is being sent is a picture, and a URL 1308 1313 ;; dropped into the entry would be an unreadable line of text sitting in
@@ -1300,9 +1300,14 @@ 1300 ;; and without this Send would look like it was about to say it twice. 1300 ;; and without this Send would look like it was about to say it twice. 1301 [:vbox {:key :editing} 1301 [:vbox {:key :editing} 1302 (when @cells/editing 1302 (when @cells/editing 1303 + ;; The pencil is a picture and not a character in the label: a label is 1304 + ;; set in the text font, which has no emoji in it, so the banner opened 1305 + ;; with tofu where the reply banner above opens with a ↩ the font does 1306 + ;; have. Same split `run-node` makes for an emoji anybody types. 1303 [:hbox {:spacing 8} 1307 [:hbox {:spacing 8} 1304 - [:dim-label {:label "✏️ Editing your message"}] 1308 + [:emoji {:key :pencil :emoji "✏️" :size text-emoji-size}] 1305 - [:button {:label "✕" :on-click actions/cancel-edit!}]])] 1309 + [:dim-label {:key :label :label "Editing your message"}] 1310 + [:button {:key :cancel :label "✕" :on-click actions/cancel-edit!}]])] 1306 ;; The pasted picture, above the line it will go out with. Shown rather 1311 ;; The pasted picture, above the line it will go out with. Shown rather 1307 ;; than written into the draft: what is being sent is a picture, and a URL 1312 ;; than written into the draft: what is being sent is a picture, and a URL 1308 ;; dropped into the entry would be an unreadable line of text sitting in 1313 ;; dropped into the entry would be an unreadable line of text sitting in