# HG changeset patch # User Drew Perttula # Date 2018-05-24 06:30:44 # Node ID 0a472b4288590a3d78e0941516655f951a041ed9 # Parent 468a13c4b9106f1d172f925209d877f29c0cb680 log, comment Ignore-this: 5b259f2d235febf02f15359701484ee5 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) {