Open zepumph opened 2 years ago
I found that HSeparator and VSeparato were already set as strokePickable:true by default. This is nice because it limits down the number of cases that may have regressed. I'm running snapshot comparison against this patch right now and will report back:
I'm also running load-only tests to see if I hit any of the debuggers.
For some general record keeping, there are 386 usages of new Line(
and 13 usages of extends Line
. I am 1/3 the way through the pixel comparison, and nothing has shown up yet. Wahoo!
Snapshot comparison flagged the following repos, but upon looking, it was only minor PDOM changes that I can't explain, but don't seem to have anything to do with Line, furthermore, I saw them occur sometimes when testing against the same shas, so I think it is unrelated.
I'm going to commit!
Committed, we should have QA poke around some simulations to see if anything is weird.
This is from https://github.com/phetsims/geometric-optics/issues/351, it seems like this case will come up much more often than just that one case.
From discussion with @jonathanolson, we like the idea @pixelzoom had in https://github.com/phetsims/geometric-optics/issues/351#issuecomment-1055826651 to have
strokePickable:true
be the default for allLine
instances.For testing, @jonathanolson and I are a bit worried about regressions, since if any ancestor to the Line as an input listener, it will cause this hit to be absorbed. In addition to pixel comparison, we will want to have QA take a good pass on a variety of sims.