diff --git a/light9/web/graph.coffee b/light9/web/graph.coffee --- a/light9/web/graph.coffee +++ b/light9/web/graph.coffee @@ -204,6 +204,8 @@ class window.SyncedGraph applyAndSendPatch: (patch) -> console.time('applyAndSendPatch') if !Array.isArray(patch.addQuads) || !Array.isArray(patch.delQuads) + console.timeEnd('applyAndSendPatch') + log('corrupt patch') throw new Error("corrupt patch: #{JSON.stringify(patch)}") @_validatePatch(patch) diff --git a/light9/web/light9-color-picker.html b/light9/web/light9-color-picker.html --- a/light9/web/light9-color-picker.html +++ b/light9/web/light9-color-picker.html @@ -305,6 +305,9 @@ if (this.closeTime && this.closeTime > Date.now() - 500) { return; } + + // if scrolling put us here, don't open large. require deliberate entering motion. + this.showLarge(ev.pageX, ev.pageY); } moveLargeCrosshair(pos, _elem) {