about summary refs log tree commit diff stats
path: root/src/layout/box.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-11-08 22:50:44 +0100
committerbptato <nincsnevem662@gmail.com>2021-11-08 22:50:44 +0100
commit71490162f8d5eab021dcc33b66d42fa158bdb461 (patch)
treeec94555b0d282e10bb607a977204f1b229f9680c /src/layout/box.nim
parentcac5382d4e9f9f7536a12448dcbe3657f19dbbf4 (diff)
downloadchawan-71490162f8d5eab021dcc33b66d42fa158bdb461.tar.gz
Actual layout engine progress plus some bug fixes
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r--src/layout/box.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index 277bbef4..a36bb424 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -14,6 +14,7 @@ type
   CSSBoxObj = object of RootObj
     x*: int
     y*: int
+    fromx*: int
     width*: int
     height*: int
     children*: seq[CSSBox]