Commit 5c39ab9
committed
Workaround for scaling issues
The new side and menu bar provides an additional offset which must be
accounted for in the position calculations for the helpDOM
There is likely a cleaner way to obtain either the offset itself, or a
context transform with the offset included, but the only means I've
found so far from my digging is to pull the bounding client rect from
the canvas element itself1 parent 41ca443 commit 5c39ab9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
0 commit comments