mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +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
|
@ -226,7 +226,7 @@ static RefPtr<GUI::Window> create_settings_window(TerminalWidget& terminal)
|
|||
slider_container.set_fixed_height(50);
|
||||
auto& slider = slider_container.add<GUI::HorizontalSlider>();
|
||||
|
||||
slider.on_value_changed = [&terminal](int value) {
|
||||
slider.on_change = [&terminal](int value) {
|
||||
terminal.set_opacity(value);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue