Closed donhatch closed 4 years ago
Here are some missing repaint issues I have noticed. These were observable even before Melinda's fix, but the fix makes them often linger longer.
repaint() seems to be missing:
OK, I fixed those new repaint cases. Turns out it also allows the users to now see their color adjustments in real-time. Check it out:
Thanks!
Regarding realtime color adjustment-- that's certainly worlds better, as long as the puzzle is small and/or antialiasing is off. However, try it in hypermegaminx with "Allow Antialiasing" enabled (which is the default, I believe); it seems pretty painful to me. See what you think.
OpenSDK javac warns about the semicolon after the "if" clause in MC4DView.java line 264:
It's possible that the semicolon shouldn't be there, which would mean repaint() is getting called when it shouldn't be (that is, on every mouse motion, even when the picture isn't changing).
I'm thinking that removing these excessive repaints could greatly improve interaction/responsiveness, especially on bigger puzzles like the hypermegaminx, in which every at-rest paint takes 2 seconds due to antialiasing.