diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-16 10:46:30 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-16 10:46:30 +1100 |
| commit | 96b9af4919e6f7eeeae1b5ae123f54bbbfad5a2f (patch) | |
| tree | 89e34018e0984aaa490e2ad48c8c806dbf8642ea /src/lib.ts | |
| parent | 7b01334360c964beec86e6dc0ef32b3f6531eb17 (diff) | |
Use outlines and pseudo-divs instead of borders
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,8 +31,9 @@ export class LayoutTree { case 'rect': newLayout = rectLayoutFn(this.root, pos, dims, true, this.options); break; case 'sweep': newLayout = sweepLayoutFn(this.root, pos, dims, true, this.options); break; } - if (newLayout == null) + if (newLayout == null){ return false; + } this.copyTreeForRender(newLayout, this.root); return true; } |
