1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-22 19:27:42 +00:00

canvas update for resizing

This commit is contained in:
kepler155c@gmail.com
2019-04-27 19:33:21 -04:00
parent f4bcd61116
commit 59552d4217
4 changed files with 22 additions and 13 deletions

View File

@@ -121,14 +121,6 @@ function keyboard.removeHotkey(code)
keyboard.hotkeys[code] = nil
end
kernel.hook('monitor_touch', function(event, eventData)
local monitor = Peripheral.getBySide(eventData[1])
if monitor and monitor.eventChannel then
monitor.eventChannel(event, table.unpack(eventData))
return true -- stop propagation
end
end)
local function createDevice(name, devType, method, manipulator)
local dev = {
name = name,