From 0865e40758ee26f6ffb40c5bf6d88291065ed36f Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Thu, 3 Oct 2024 23:03:02 +0200 Subject: [PATCH] Fix module requirement names --- gfx/element.lua | 2 +- gfx/list.lua | 2 +- gfx/padding.lua | 4 ++-- gfx/text.lua | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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)