Supporting setting panel layout
This commit is contained in:
@@ -9,7 +9,7 @@ namespace sophia {
|
||||
class PanelRegistryPanel : public Panel {
|
||||
public:
|
||||
explicit PanelRegistryPanel(PanelRegistry& registry)
|
||||
: Panel{"PanelRegistry"}, registry{registry} {}
|
||||
: Panel{{.name = "PanelRegistry"}}, registry{registry} {}
|
||||
|
||||
void onUpdate(const FrameInfo& frameInfo) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user