Skip to content
Snippets Groups Projects
Commit 2705dc80 authored by Jake Read's avatar Jake Read
Browse files

satisfied with hardware objects, still have to re-write per module

parent 0333bb2a
No related branches found
No related tags found
No related merge requests found
...@@ -15,18 +15,8 @@ This project serves the developement environment / api we use to write and repre ...@@ -15,18 +15,8 @@ This project serves the developement environment / api we use to write and repre
## For MW ## For MW
- serial link OK, attach
- how do users know to hookup, how to hookup ?
- then draw something, and how does UI hook up, and when route changes ?
- catch err where can't click-escape from settings ?
-
- walk program units and change - walk program units and change
- rename inout to jsunit - hardware, and consolidate ?
- buttons get onClick evt
- make hardware link / ports work / hardware type
- what program units do we want? - what program units do we want?
- try demo machine setup ... want flow control, better planning, this is actually a big thing - try demo machine setup ... want flow control, better planning, this is actually a big thing
- jogging, etc ... keydown modules ? - jogging, etc ... keydown modules ?
......
...@@ -420,6 +420,10 @@ onwheel = function(evt) { ...@@ -420,6 +420,10 @@ onwheel = function(evt) {
} }
onmousedown = function(evt) { onmousedown = function(evt) {
var qr = document.querySelector(':focus')
if(qr){
qr.blur()
}
var el = document.elementFromPoint(evt.pageX, evt.pageY) var el = document.elementFromPoint(evt.pageX, evt.pageY)
if (elementIsNotModule(el)) { if (elementIsNotModule(el)) {
evt.preventDefault() evt.preventDefault()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment