1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

PixelPaint: Make antialiasing the default for tools

Our AA painting works with opacity and generally has a nicer look
so lets make it the default.
This commit is contained in:
MacDue 2022-11-27 14:12:34 +00:00 committed by Linus Groh
parent 13beed1722
commit 0482190bc8
3 changed files with 3 additions and 1 deletions

View file

@ -219,6 +219,7 @@ GUI::Widget* RectangleTool::get_properties_widget()
aa_enable_checkbox.on_checked = [&](bool checked) {
m_antialias_enabled = checked;
};
aa_enable_checkbox.set_checked(true);
auto& aspect_container = mode_extras_container.add<GUI::Widget>();
aspect_container.set_layout<GUI::VerticalBoxLayout>();