Commit Graph

33 Commits (d0cd8217be47307449d3a176b240cbb6e410c8b9)

Author SHA1 Message Date
Isaiah Odhner 599395be94 Reorder image-rendering values
It's generally better to have vendor prefixes earlier, and I specifically want pixelation.
2019-11-05 07:17:17 -05:00
Isaiah Odhner 622f9f8dda Blend swatch border with swatch color
Make the border go on top of the swatches so it blends with them and doesn't just create an ugly gray around them.
(It especially looked bad on the orange in the corner, which is around the same perceptive brightness as the gray.)
2019-10-27 14:38:15 -04:00
Isaiah Odhner 38a16604cd Improve modern theme
- Use modern sprites for tool icons and transparency options
- Use modern selection color for tool options
- Add a border around the canvas area to separate the canvas from the UI
- Slightly round the corners of the color wells and selected colors
2019-10-27 14:24:10 -04:00
Isaiah Odhner 4d84d55080 Make body background same as background_color 2019-10-27 00:35:06 -04:00
Isaiah Odhner 1501b6a6a4 Abut them buttons! 2019-10-21 13:28:12 -04:00
Isaiah Odhner a98cf0f473 Clean up and disable vertical text button 2019-10-21 13:10:55 -04:00
Isaiah Odhner ad4e5c7cad Disable antialiasing consistently for selections 2019-10-02 13:43:16 -04:00
Isaiah Odhner 6ac691e9bd Avoid antialiasing in more scenarios
Enable aliasing (nearest neighbor scaling) for more scenarios. This improves quality at some scales of the canvas and device pixel ratios, by re-enabling aliasing. In particular this avoids a browser bug in chrome where the canvas will jump back and forth between being antialiased and aliased, but only for these certain scenarios. Any time it's antialiased, it can also exhibit this bug in chrome.
2019-09-30 19:50:48 -04:00
Isaiah Odhner 2a5206a2c5 Enable antialiasing at awkward pixel sizes
Compromise for https://github.com/1j01/jspaint/issues/103

Note that this uncovers weird buggy browser behavior where canvas HiDPI state is remembered per undo state, and can fluctuate based on mouse presses (often makes it go antialiased) and undoing (often makes it go aliased), and it can even go partially antialiased, in redraw regions as you paint.

Also it definitely needs additional handling for the canvas itself, which can have a magnification factor.
2019-09-29 22:04:20 -04:00
Isaiah Odhner 2b9486c9af Stop trying to disable font smoothing
https://github.com/1j01/jspaint/issues/130
2019-09-21 13:42:14 -04:00
Isaiah Odhner a437fafe02 Get theme switching working
with hacks
2019-07-06 16:52:35 -04:00
Isaiah Odhner 8c0d56b02d Add font-smooth: none
Fixes https://github.com/1j01/jspaint/issues/110

2acd9c3f1a
2018-04-21 09:09:56 +00:00
Isaiah Odhner 26c1b56b5f Fix z-indexing issues
(And introduce at least one, but document it)
2018-01-25 09:15:03 +00:00
Wei-Wei Wu 3375756dd6 Make selection border alternate white/black (#58) 2018-01-20 20:00:35 -05:00
Michael 45febc58db Fix blurry image zoom in Firefox (#60) 2018-01-20 15:29:42 -05:00
Isaiah Odhner 37bf2655ec Style Help Topics in modern theme 2018-01-11 17:46:28 -05:00
Isaiah Odhner a3bcd43f2b Show component ghosts in modern theme 2018-01-10 18:50:34 -05:00
Isaiah Odhner 80b7f7550e Make handles work in the Modern theme 2018-01-10 18:18:26 -05:00
Isaiah Odhner 2832f37358 Add Load From URL 2018-01-09 22:42:38 -05:00
Isaiah Odhner 4a2c9ace59 Fix Colors box in modern theme
And when switching themes
2017-06-29 04:35:46 +00:00
Isaiah Odhner fd89eb8b1d Display patterns when selected 2017-06-24 19:35:49 +00:00
Isaiah Odhner c9b1578735 Add black outline for patterns 2017-06-24 15:23:13 +00:00
Isaiah Odhner 949b18d23b Partially implement B&W mode 2017-06-24 06:22:29 +00:00
Isaiah Odhner 6c65c0cb80 Add checkered background for transparency
Resolves https://github.com/1j01/jspaint/issues/11
2017-05-30 23:07:02 +00:00
Isaiah Odhner d92054dfd1 Remove all .jspaint-* prefixes 2017-05-23 06:04:23 +00:00
Isaiah Odhner c05eaf0547 Remove other button classes 2017-05-23 05:50:17 +00:00
Isaiah Odhner 5d919a32de Remove .jspaint-button class 2017-05-23 03:58:35 +00:00
Isaiah Odhner 6fe7aaa0e4 Fix extra scrollbar buttons on textbox 2017-05-23 02:54:26 +00:00
Isaiah Odhner 557923391b Update scrollbars
And the selection color
2017-05-18 18:29:26 +00:00
Isaiah Odhner 8f66c81d1e Pixelate when zoomed in 2017-05-18 06:20:46 +00:00
Isaiah Odhner deb4b3c37c Improve menu padding
Dial it back from the Material Design guidelines closer to how Docs does it currently
2017-01-29 05:51:30 +00:00
Isaiah Odhner 6135471722 Start making new theme 2017-01-29 01:31:32 +00:00
Isaiah Odhner 2b0f0b2fb5 Reorganize 2017-01-28 21:31:05 +00:00