Open YannickNeyt opened 3 years ago
Does adding a line board.update()
just before the last line make it better? If so, I should make the extension do this for you.
@YannickNeyt did you look at this any more?
Sorry, I didn't, I just tried it, I don't think it changes anything.
I also noticed this (this question). In that question it's a very minor issue, but it is noticeable that the labels are a little closer to the red dots for "try another" questions. For some weird reason the label offsets are ignored when the first question is generated. The board update which I just added does not seem to help there, either.
Is this still a problem?
In the question I linked to the problem does not occur anymore. Thanks!
I made a drawing with jsxGraph:
But if I preview the question, the labels are off. Only when I ask for a second try, the labels are corrected (and stay so for other generated questions):
I noticed that the second time, the labels 'jump' in the first second from the incorrect to the correct place, this 'jump' doesn't occur when I first open the question.
The code for the drawing: