Closed aheze closed 4 months ago
Before, there was a noticeable jump from unhighlighted → highlighted
https://github.com/user-attachments/assets/ce78555c-ef27-44a7-997c-689c50ebc11e
By removing the font attribute, the .font(font.codeBlock) modifier is respected for both highlight states. We can remove the animation because there is no longer any discontinuity.
.font(font.codeBlock)
Good work @aheze
Before, there was a noticeable jump from unhighlighted → highlighted
https://github.com/user-attachments/assets/ce78555c-ef27-44a7-997c-689c50ebc11e
By removing the font attribute, the
.font(font.codeBlock)
modifier is respected for both highlight states. We can remove the animation because there is no longer any discontinuity.