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
Notes: sideshowbarker 2024-07-17 04:34:25 +09:00
3 changed files with 3 additions and 1 deletions

View file

@ -173,7 +173,7 @@ GUI::Widget* EllipseTool::get_properties_widget()
m_fill_mode = FillMode::Fill;
};
aa_enable_checkbox.set_checked(false);
aa_enable_checkbox.set_checked(true);
outline_mode_radio.set_checked(true);
auto& aspect_container = m_properties_widget->add<GUI::Widget>();

View file

@ -169,6 +169,7 @@ GUI::Widget* LineTool::get_properties_widget()
aa_enable_checkbox.on_checked = [&](bool checked) {
m_antialias_enabled = checked;
};
aa_enable_checkbox.set_checked(true);
}
return m_properties_widget.ptr();

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>();