mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +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
Notes:
sideshowbarker
2024-07-19 00:22:40 +09:00
Author: https://github.com/awesomekling
Commit: cb67264f61
11 changed files with 21 additions and 21 deletions
|
@ -82,8 +82,8 @@ void AbstractSlider::set_value(int value)
|
|||
m_value = value;
|
||||
update();
|
||||
|
||||
if (on_value_changed)
|
||||
on_value_changed(m_value);
|
||||
if (on_change)
|
||||
on_change(m_value);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue