about summary refs log tree commit diff stats
path: root/src/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-19 20:04:15 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-19 20:05:21 +0200
commit3c3f0f1035d7b71d1993c38ca630095699972f61 (patch)
tree434fde30f4a19a1faaabebf1ba06dda731cde360 /src/layout
parent46837a6b7186afd9fc2a45b6152672e553ac2c9e (diff)
downloadchawan-3c3f0f1035d7b71d1993c38ca630095699972f61.tar.gz
WindowAttributes: refactor
* rename module (window -> winattrs, to avoid conflict with env/window)
* do not use result
* remove unused cell_ratio
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/box.nim2
-rw-r--r--src/layout/engine.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index 7c764203..e09b8e37 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -2,7 +2,7 @@ import options
 
 import css/stylednode
 import css/values
-import display/window
+import display/winattrs
 import layout/layoutunit
 import types/color
 
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index 9cf45515..4a242e02 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -5,7 +5,7 @@ import unicode
 
 import css/stylednode
 import css/values
-import display/window
+import display/winattrs
 import layout/box
 import layout/layoutunit
 import utils/twtstr