Hit lines even if they are dashed

This commit is contained in:
Tim Schaub
2020-12-30 12:33:06 -07:00
parent 7778e373a7
commit aed4773ecb
4 changed files with 102 additions and 26 deletions
+1
View File
@@ -74,6 +74,7 @@ export function createHitDetectionImageData(
const stroke = style.getStroke();
if (stroke) {
stroke.setColor(color);
stroke.setLineDash(null);
}
style.setText(undefined);
const image = originalStyle.getImage();