C++ two way bindings

This commit is contained in:
Olivier Goffart 2020-09-25 15:21:22 +02:00
parent cc3ac5fbed
commit abe24e2e9e
5 changed files with 149 additions and 46 deletions

View file

@ -201,9 +201,8 @@ inline KeyEventResult process_key_event(ComponentRef component, int64_t focus_it
return comp.vtable->key_event(comp, event, window);
};
}
} else {
return KeyEventResult::EventIgnored;
}
return KeyEventResult::EventIgnored;
}
template<typename GetDynamic>
@ -247,6 +246,7 @@ inline FocusEventResult process_focus_event(ComponentRef component, int64_t &foc
return FocusEventResult::FocusItemNotFound;
}
}
return FocusEventResult::FocusItemNotFound;
}
}