From e7364159b70d2aa96b4fac7895fdc8ee2feaa307 Mon Sep 17 00:00:00 2001 From: xTrayambak Date: Sat, 27 Apr 2024 11:14:21 +0530 Subject: [PATCH] (fix) GDisplayList derives from RootObj --- src/ferusgfx/displaylist.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ferusgfx/displaylist.nim b/src/ferusgfx/displaylist.nim index c2da178..23b52e7 100755 --- a/src/ferusgfx/displaylist.nim +++ b/src/ferusgfx/displaylist.nim @@ -5,15 +5,15 @@ type drawable*: T mut*: M - GDisplayList*[D: not void] = object - scene: ptr Scene + GDisplayList*[D: not void] = object of RootObj doClearAll*: bool adds: seq[D] removes: seq[uint] posChange: seq[DrawableMutationUnion[D, Vec2]] - DisplayList* = GDisplayList[Drawable] + DisplayList* = object of GDisplayList[Drawable] + scene: ptr Scene iterator items*[T, M]( unions: seq[DrawableMutationUnion[T, M]]