diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-02 13:12:22 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-11-02 13:12:22 -0500 |
| commit | 7412fedeeb030bc00d8dd9dc9b3a883c8a94e9fc (patch) | |
| tree | cd77a018eb9357a1d0da668c6ded18ee3a4cbafd /src/e.bqn | |
| parent | 0e8f57af12a3eda54e8e75672b0f0d67b06245e5 (diff) | |
Keep character backing at the same height as the character
Diffstat (limited to 'src/e.bqn')
| -rw-r--r-- | src/e.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,8 +13,8 @@ gt ← "g" At "font-size=15px|text-anchor=middle" gb ← "g" At "class=codeCover|stroke-width=8|stroke-linejoin=round" gf ← "g" At "opacity=0.9" Shadow ← { - t ← (⟨0,0‿¯2⟩+⌜𝕨) ("text" Attr Pos)⊸Enc¨ (1⊸⊑¨≍∾¨) 𝕩 - gt Enc ⟨gb,gf⟩ Enc¨<˘ t + p ← ("text" Attr ·Pos -⟜0‿2)¨ 𝕨 + gt Enc ⟨gb,gf⟩ Enc¨ (1⊸⊑¨ ≍○<○(p Enc¨⊢) ∾¨) 𝕩 } hlcl‿hlch ← <˘ ⍉ ∘‿2⥊⟨ |
