43abd96
Apply padding correctly when painting `Container`'s children
Antonio Scandurra
created
bac5436
Declare float literals consistently in shader
Antonio Scandurra
created
3de0ce6
Remove artifact when a border side was not rendered
Click to expand commit body
This introduces an extra conditional in the shader, there's probably a
way of writing it without ifs but I like how the logic reads with it and
it shouldn't be that big of a deal performance-wise.
Antonio Scandurra
created
32c0702
Scale corner_radius by the scale factor when rendering shadows
This still doesn't work properly because shadows are rendered beneath
quads and we still don't have a layering mechanism.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Now the Element trait is designed to be wrapped in a Lifecycle enum that gets placed inside an ElementBox. This allows the framework to store data on behalf of the Element implementation, such as sizes, bounds, and also implementation-specific LayoutState and PaintState types. This makes it easier to reason about which data is available in each Element method.
Nathan Sobo
created
046fe3f
Dispatch keystrokes and fix rerendering when window invalidated
Also, eliminate the background spawning methods. We can spawn futures
on the executor and then spawn those on the app if we need to wait for
the result of running one.
Nathan Sobo
created
f849857
Handle command line arguments and populate worktree