mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
LibGUI: Rename AbstractSlider::on_value_changed => on_change
This matches other similar hook names.
This commit is contained in:
parent
3b445bc66a
commit
cb67264f61
11 changed files with 21 additions and 21 deletions
|
@ -142,7 +142,7 @@ GUI::Widget* BrushTool::get_properties_widget()
|
|||
size_slider.set_fixed_height(20);
|
||||
size_slider.set_range(1, 100);
|
||||
size_slider.set_value(m_size);
|
||||
size_slider.on_value_changed = [this](int value) {
|
||||
size_slider.on_change = [this](int value) {
|
||||
m_size = value;
|
||||
};
|
||||
|
||||
|
@ -158,7 +158,7 @@ GUI::Widget* BrushTool::get_properties_widget()
|
|||
hardness_slider.set_fixed_height(20);
|
||||
hardness_slider.set_range(1, 99);
|
||||
hardness_slider.set_value(m_hardness);
|
||||
hardness_slider.on_value_changed = [this](int value) {
|
||||
hardness_slider.on_change = [this](int value) {
|
||||
m_hardness = value;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue