短评 · ·

X 归档 2023-07-15

2 条动态 · 图 1 · 视频 0
Connecting Storybook and @figma via Dev Mode is the perfect way to bridge dev and design! It brings your design and implementation into one interface – creating a single, final source of truth!

Find out more from Storybook maintainer @winkerVSbecks ~

https://youtu.be/3hTyU3h1i6E
通过 Dev Mode 连接 Storybook 和 @figma,是打通开发与设计的完美方式!它把设计和实现汇聚到一个界面——打造唯一的最终事实来源!

欲知详情,请听 Storybook 维护者 @winkerVSbecks 道来 ~

https://youtu.be/3hTyU3h1i6E
#tinyJStip
Did you know that you can get the relative position of every letter of your canvas text with:

context.measureText('hello there!').advances
#tinyJStip
你知道吗?用下面的代码就能拿到 canvas 文本中每个字母的相对位置:

context.measureText('hello there!').advances
@anatudor 的配图 1/1