The rule that provided the background and text color only applied if the type attribute was set,
and once it applied it removed the border because it also specified a border, so I had to split that out.
It's supposed to be uneven!!
Haha I'd probably make it (that is, leave it) evenly spaced,
except that I'm comparing directly with screenshots
and I don't like seeing it blurry from the offset.
- Disable runtime testing of the speech recognition system,
measured at between 87 and 653 ms, averaging 413.6 ms across 5 loads.
- Allow it to be re-enabled with a flag:
localStorage.test_speech_recognition = "true";
- Only run any voice command tests after the page is loaded.
Disable a test that now fails due to the menus existing,
expecting/wanting not to match any command interpretation.
- Fix contrast of window text in Dark and Occult themes
- Fix contrast of Edit Colors luminosity arrow in Dark and Occult themes
- Add borders in Edit Colors in Modern theme (for contrast)
- Use the exact color palette from mspaint.
You can now open an image created with mspaint in jspaint,
or visa versa, and use the fill tool with corresponding colors and
have it work as expected with corresponding colors creating a
continuous region since the colors are equal.
This also fixes the Edit Colors dialog initially selecting the
color to edit, because the corresponding colors are now equal.
- Upgrade the color palette in existing documents when you open them
and they meet a threshold of old color values detected,
so that fill isn't broken for old documents created with jspaint.
Closes https://github.com/1j01/jspaint/issues/159
Fixes https://github.com/1j01/jspaint/issues/114 and makes opening the color dialog work with Eye Gaze Mode dwell clicks and Speech Recognition as well (which can't trigger a "user gesture" as far as the browser's security model is concerned).
These changes don't exceed the thresholds I set, so I had to delete the snapshots to regenerate them.
(I'm doing this, in a rebase, because I noticed changes when other changes made it exceed the threshold.)
- Fix the contrast of (most) tool options in the new dark theme
- (There isn't very good contrast for the shape style options in this dark theme.)
- Simplify events for re-rendering tool options
- Re-render tool options when dropping in a .theme/.themepack file
Shaves a few seconds off. Kinda disappointing, I was expecting it to be more of an improvement.
Is it worth the complexity? Well, I can always go back to doing visit() before each test, if resetting the state gets more complicated.
(As long as I don't introduce actual dependency on the state from earlier tests.)
These special comments can provide descriptions when you mouse over an identifier,
but they don't work with multiple declarations in one statement,
and if they're so small, they're not very noticeable.