Annotations are offset on some devices?
I have repl recently (well, maybe not recently but within the last handful of months or so) added annotations. They are great and all, but whenever I read them I find that the annotations box is shifted 56 pixels to the left, leading it partially offscreen.
This may seem weird, but if I were to inspect the box with devtools, it is purposefully shifted 56px to the left with a CSS transform!
Also repl.it I noticed u constantly trigger debugger when u start writing annotations. You must be trying to debug it too ;>
Why could this be happening?
Thanks in advance
- A confused bacon strip.
I did some searching in the repl source files, and it looks like they deliberately added it. I think it's still a "glitch" though, as it is unintentionally offsetting my annotation alerts. If you format the
replEnvironment.js in devtools on chrome it's around the line 37,000 mark.
An easier way is to just search for
translateX(-56px) in the file. Either way, it's in
(Paradoxically, the student's sweatshirt said "Onset" on it. Opposite of "Offset". Hmmmmm)
chrome://version, and find the version (it should be first on the page, see picture below).
I'm not sure if it has anything to do with version, but I'm just curious to see if it might be.
I got a different computer from last year and it is fixed now, but I also updated the software recently so it might be that, but I doubt it (still though, one can have a hunch).
It might just be how the student's laptop is set up and/or how the replit workstation is laid out.
I'd have to ask the replit devs themselves as they probably know how the translation is determined.
that's probably a repl.it bug. Try refreshing, or enabling your settings. if not, i can report to bugs, for you.
It's coded into repl.it!
I checked their source code and it shows a translation of -56px on the X axis, so I bet it just fires at the wrong screen size or something, or they mixed it up. I can't find the column that they wrote it in because the file is so big a search in devtools freezes the window up, sooo... :/