Open davidwang1988 opened 4 years ago
chrome is fine, but safari has problem. rendering is ok, the svg will be scaled to 2x, but when write the character, the stoke will not be in the right place. code as below: (safari) '<div id="character-target-1" style: "transform: scale(2)">
scale(1) is ok, but <1 or >1 will cause problem
Interesting - maybe safari reports an incorrect mouse position when scaling is applied? Need to do more investigation
chrome is fine, but safari has problem. rendering is ok, the svg will be scaled to 2x, but when write the character, the stoke will not be in the right place. code as below: (safari) '<div id="character-target-1" style: "transform: scale(2)">