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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user