mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
NOOP: reformat and reflow
This commit is contained in:
parent
0cf2283f3f
commit
279fb74492
1 changed files with 7 additions and 9 deletions
|
|
@ -1215,10 +1215,9 @@ ArdourButton::on_focus_out_event (GdkEventFocus* ev)
|
|||
}
|
||||
|
||||
bool
|
||||
ArdourButton::on_key_release_event (GdkEventKey *ev) {
|
||||
if (_act_on_release && _focused &&
|
||||
(ev->keyval == GDK_space || ev->keyval == GDK_Return))
|
||||
ArdourButton::on_key_release_event (GdkEventKey *ev)
|
||||
{
|
||||
if (_act_on_release && _focused && (ev->keyval == GDK_space || ev->keyval == GDK_Return)) {
|
||||
if (_auto_toggle && !_action) {
|
||||
set_active (!get_active ());
|
||||
}
|
||||
|
|
@ -1232,10 +1231,9 @@ ArdourButton::on_key_release_event (GdkEventKey *ev) {
|
|||
}
|
||||
|
||||
bool
|
||||
ArdourButton::on_key_press_event (GdkEventKey *ev) {
|
||||
if (!_act_on_release && _focused &&
|
||||
(ev->keyval == GDK_space || ev->keyval == GDK_Return))
|
||||
ArdourButton::on_key_press_event (GdkEventKey *ev)
|
||||
{
|
||||
if (!_act_on_release && _focused && (ev->keyval == GDK_space || ev->keyval == GDK_Return)) {
|
||||
if (_auto_toggle && !_action) {
|
||||
set_active (!get_active ());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue