about summary refs log tree commit diff stats
path: root/src/layout/box.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r--src/layout/box.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index c2b6a449..583e0d75 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -118,6 +118,9 @@ type
     viewport*: Viewport
     offset*: Offset
 
+    #TODO this should not be needed.
+    was_positioned*: bool
+
     # This is the padding width/height.
     width*: int
     height*: int