mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-29 16:39:34 +08:00
Merge dom and component focus (#978)
Instead of two levels of focus with `focus` and `selected`, use a recursive level. The components set the one "active" and hbox/vbox/dbox Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ class ResizableSplitBase : public ComponentBase {
|
||||
return false;
|
||||
}
|
||||
|
||||
Element Render() final {
|
||||
Element OnRender() final {
|
||||
switch (options_->direction()) {
|
||||
case Direction::Left:
|
||||
return RenderLeft();
|
||||
|
Reference in New Issue
Block a user