v1.10.0 - Improved the component library to add things like component.gpu.

This commit is contained in:
TheWahlolly
2025-06-15 18:30:48 +03:00
parent e4cf929fce
commit 9b4c76b71d
10 changed files with 50 additions and 40 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ local file = ...
local fs = import("filesystem")
local event = import("event")
local component = import("component")
local gpu = component.proxy(component.list("gpu")())
local gpu = component.gpu
local width, height = gpu.getResolution()
local scrollPosX, scrollPosY = 1, 1
local cursorPosX, cursorPosY = 1, 1