mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Make layouts flow horizontally by default (#18)
This commit is contained in:
parent
c3e71c5c7d
commit
29e209e0b0
@ -23,7 +23,7 @@ export function newLayoutNode<T>(
|
|||||||
): LayoutNode<T> {
|
): LayoutNode<T> {
|
||||||
const newNode: LayoutNode<T> = {
|
const newNode: LayoutNode<T> = {
|
||||||
id: crypto.randomUUID(),
|
id: crypto.randomUUID(),
|
||||||
flexDirection: flexDirection ?? FlexDirection.Column,
|
flexDirection: flexDirection ?? FlexDirection.Row,
|
||||||
size,
|
size,
|
||||||
children,
|
children,
|
||||||
data,
|
data,
|
||||||
|
Loading…
Reference in New Issue
Block a user