mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Inside `each strokes` the template drew stroke-width=width, and Spacebars looks a name up among the template's helpers before the line's own fields: the width helper is the drawing's width, so every line was drawn 800 wide - one black shape over the whole whiteboard, in every browser. The lines are mapped with strokeWidth now. whiteboard.test.cjs: every name the line's path uses is a field of the line and none is a helper of the template, which would win - it fails on the code before. whiteboard.e2e.js checks each drawn path is the pen's width (4) in both browsers. The same spec drew the second person in another context of the same browser. In Firefox two contexts share the pointer capture the first pen takes: one line zig-zagged between both paths and the other page drew nothing, 4 of 4. The second person now has a browser of their own, as two people do; both pens are still down at once. Firefox 6 of 6 and Chromium 4 of 4 against a rebuilt bundle. Thanks to xet7 !