diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2023-04-29 16:47:52 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-30 05:49:46 +0200 |
commit | f7e034d4b257a22b898252d62652587601fa7f99 (patch) | |
tree | a69511f055f54e0215a63d6082637d38293e97f6 /Userland/Libraries/LibWeb/DOM/Document.cpp | |
parent | 4c9933bfb701c43a2f9aeadf8d06398fd6327749 (diff) | |
download | serenity-f7e034d4b257a22b898252d62652587601fa7f99.zip |
LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle
Previously, Frames could set both these properties along with a
thickness to confusing effect: Most shapes of the same shadowing only
differentiated at a thickness >= 2, and some not at all. This led
to a lot of creative but ultimately superfluous choices in the code.
Instead let's streamline our options, automate thickness, and get
the right look without so much guesswork.
Plain shadowing has been consolidated into a single Plain style,
and 0 thickness can be had by setting style to NoFrame.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.cpp')
0 files changed, 0 insertions, 0 deletions