# HG changeset patch # User Drew Perttula # Date 1527143444 0 # Node ID 0a472b4288590a3d78e0941516655f951a041ed9 # Parent 468a13c4b9106f1d172f925209d877f29c0cb680 log, comment Ignore-this: 5b259f2d235febf02f15359701484ee5 diff -r 468a13c4b910 -r 0a472b428859 light9/web/graph.coffee --- a/light9/web/graph.coffee Thu May 24 06:23:28 2018 +0000 +++ b/light9/web/graph.coffee Thu May 24 06:30:44 2018 +0000 @@ -204,6 +204,8 @@ 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 -r 468a13c4b910 -r 0a472b428859 light9/web/light9-color-picker.html --- a/light9/web/light9-color-picker.html Thu May 24 06:23:28 2018 +0000 +++ b/light9/web/light9-color-picker.html Thu May 24 06:30:44 2018 +0000 @@ -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) {