diff --git a/gfx/element.lua b/gfx/element.lua index ab73a7d..063075c 100644 --- a/gfx/element.lua +++ b/gfx/element.lua @@ -1,4 +1,4 @@ -local Event = require("event") +local Event = require("gfx.event") local Element = { x = 1, diff --git a/gfx/list.lua b/gfx/list.lua index 0ebc618..696d16e 100644 --- a/gfx/list.lua +++ b/gfx/list.lua @@ -1,4 +1,4 @@ -local Element = require("element") +local Element = require("gfx.element") local List = Element:new{ children = {}, vertical = false diff --git a/gfx/padding.lua b/gfx/padding.lua index 6cc3c1f..b3337de 100644 --- a/gfx/padding.lua +++ b/gfx/padding.lua @@ -1,5 +1,5 @@ -local Event = require("event") -local Element = require("element") +local Event = require("gfx.event") +local Element = require("gfx.element") local Padding = Element:new{ left = 0, right = 0, diff --git a/gfx/text.lua b/gfx/text.lua index 56bb1b1..5b534b8 100644 --- a/gfx/text.lua +++ b/gfx/text.lua @@ -1,4 +1,4 @@ -local Element = require("element") +local Element = require("gfx.element") local Text = Element:new{ text = "" } function Text:new(o)