From c1e64bf0ccdaeb1b676f1a53967b0d0448e1ca44 Mon Sep 17 00:00:00 2001 From: alyx Date: Thu, 2 Jun 2022 00:26:49 +0000 Subject: basic PWA things, fixed the searcher again --- lib/chips.css | 1 + lib/chips.js | 1 - lib/types.js | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 lib/types.js (limited to 'lib') diff --git a/lib/chips.css b/lib/chips.css index 12a3704..9d944de 100644 --- a/lib/chips.css +++ b/lib/chips.css @@ -152,6 +152,7 @@ body { z-index: 99; top: calc(var(--mouse-y) + 10px - (var(--chipOffsetY) * 1px)); left: calc(var(--mouse-x) + 10px - (var(--chipOffsetX) * 1px)); + user-select: none; } .input > .exec::before, diff --git a/lib/chips.js b/lib/chips.js index 0ba542e..d418061 100644 --- a/lib/chips.js +++ b/lib/chips.js @@ -6,7 +6,6 @@ if (window.location.pathname != '/grapher/') root.style.setProperty('--mouse-y', e.clientY + "px"); }); - const portColors = { float: '#186adc', int: '#0f6522', diff --git a/lib/types.js b/lib/types.js new file mode 100644 index 0000000..ed83f12 --- /dev/null +++ b/lib/types.js @@ -0,0 +1,4 @@ +//Gods-awful type-checking logic. + +//TypeName: string, Params: Array|Object +function workOutType() \ No newline at end of file -- cgit v1.2.3-54-g00ecf