From d6baf82a941e2938d1a758676484657ac54c1a0a Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 5 Jul 2023 04:20:56 -0400 Subject: [PATCH] Removed the Gap type --- object.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/object.go b/object.go index 723dec4..2d0187f 100644 --- a/object.go +++ b/object.go @@ -8,8 +8,6 @@ import "git.tebibyte.media/tomo/tomo/event" import "git.tebibyte.media/tomo/tomo/input" import "git.tebibyte.media/tomo/tomo/canvas" -type Gap image.Point - // Side represents one side of a rectangle. type Side int; const ( SideTop Side = iota @@ -171,7 +169,7 @@ type TextBox interface { // according to a layout rule. type ContainerBox interface { ContentBox - SetGap (Gap) + SetGap (image.Point) Add (Object) Delete (Object) Insert (child Object, before Object)