changed slider issue, fixed monitor bug, added basalt.isKeyDown(keys)

Slider: added setIndex() and changed setValue behaviour
Monitor: Changed monitor draw priority so input's cursor still shows (have to figure out why its even hiding)
added new function where you can check if a user is holding a key currently down
This commit is contained in:
Robert Jelic
2022-05-31 20:55:14 +02:00
parent 5aa57c0930
commit 11cdd74d39
8 changed files with 117 additions and 19 deletions

16
source/Installer.lua Normal file
View File

@@ -0,0 +1,16 @@
--[[
To install basalt copy paste the following line to your computer:
pastebin run ESs1mg7P
---------------------------------------------
Hi, this is the installer for the UI Framework basalt!
currently its just a single file. In the near future i will split my project into multiple files and "compile" it to one single file on your computer.
You are curious what basalt is? check out my github wiki: https://github.com/NoryiE/Basalt/wiki/
----------------------------------------------
]]
local args = {...}
local defaultFilePath = args[1] or "basalt.lua"
shell.run("wget https://raw.githubusercontent.com/Pyroxenium/Basalt/master/basalt.lua "..defaultFilePath)