mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Style: Apply clang-format on all files
Thus fixing some invalid changes that had still made it to the 2.1 branch.
This commit is contained in:
parent
6d3fea6864
commit
c1f54e1a45
17 changed files with 280 additions and 296 deletions
|
|
@ -520,12 +520,10 @@ void ItemList::_input_event(const InputEvent &p_event) {
|
|||
if (p_event.type == InputEvent::MOUSE_BUTTON && p_event.mouse_button.button_index == BUTTON_WHEEL_UP && p_event.mouse_button.pressed) {
|
||||
|
||||
scroll_bar->set_val(scroll_bar->get_val() - scroll_bar->get_page() * p_event.mouse_button.factor / 8);
|
||||
|
||||
}
|
||||
if (p_event.type == InputEvent::MOUSE_BUTTON && p_event.mouse_button.button_index == BUTTON_WHEEL_DOWN && p_event.mouse_button.pressed) {
|
||||
|
||||
scroll_bar->set_val(scroll_bar->get_val() + scroll_bar->get_page() * p_event.mouse_button.factor / 8);
|
||||
|
||||
}
|
||||
|
||||
if (p_event.is_pressed() && items.size() > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue