Commit Graph

1641 Commits (70975b0730b030c704132a0ba21d235a5f72b3b8)

Author SHA1 Message Date
Isaiah Odhner 70975b0730 Fix tool previews offset when canvas height is very small 2021-02-10 14:02:36 -05:00
Isaiah Odhner 9f9b874caf Fix main canvas handles offset 2021-02-10 14:02:36 -05:00
Isaiah Odhner c8fea89d01 Fix typo 2021-02-10 14:02:36 -05:00
Isaiah Odhner 9679d24377 Fix monochrome invert on selection
Pesky globals! I should rename those soon.
2021-02-10 14:02:36 -05:00
Isaiah Odhner 8a83fb9716 Reword some news
Rewrite weird, possibly off-putting phrasing.
2021-02-09 23:23:39 -05:00
Isaiah Odhner 2edfca40c6 Reset palette and color mode when opening image if palette can't be read 2021-02-09 23:23:39 -05:00
Isaiah Odhner 812dc532ec Make silly squishy component ghosts in Modern theme 2021-02-09 11:01:41 -05:00
Isaiah Odhner dc3ccd9a54 Reduce silly padding in Modern theme
I'm not gonna lie, I added so much padding partially as a parody.
2021-02-08 23:42:27 -05:00
Isaiah Odhner f51b108368 Don't show tool preview and cursor while dragging component
It had a very confusing look, with the magnifier preview and component ghost together!
2021-02-08 23:33:24 -05:00
Isaiah Odhner 6e3f19d399 Handle inexactness of color between loaded BMP color table and image 2021-02-08 23:33:24 -05:00
Isaiah Odhner 1f04817e4a Fix layout of Custom Zoom window in Modern theme
Firefox pretty much ignores the `height` of inputs when they're left to use the default visual styling, so it wrapped around to a new column and went outside the fieldset border.
2021-02-08 23:33:24 -05:00
Isaiah Odhner 07a62b4f21 Fix transparent gap in Save As window in Modern theme 2021-02-08 23:33:24 -05:00
Isaiah Odhner 1df3401e81 Fix missing parentheses 2021-02-08 23:33:24 -05:00
Isaiah Odhner a47c7bb873 Fix canvas offset inside selection for thin selections
This affected the drag offset, the area you could drag, and in some cases made it impossible to drag the selection.
2021-02-08 23:33:24 -05:00
Isaiah Odhner 6d6ed91cea Fix selection+textbox ghost offset
(broken in last commit, but not this good previously)
2021-02-08 23:33:24 -05:00
Isaiah Odhner 216e0e270f Fix selection+textbox ghost inverty effect 2021-02-08 20:12:24 -05:00
Isaiah Odhner 2e6732ec01 Refactor 2021-02-08 19:07:26 -05:00
Isaiah Odhner 0be634be01 Fix flash of textbox with old size but new position when resizing 2021-02-08 18:43:23 -05:00
Isaiah Odhner 1555101f0b Fix free movement via resize of selection and textbox 2021-02-08 18:28:22 -05:00
Isaiah Odhner 07dbd35ffb Fix selection blowing up because of zero width/height 2021-02-08 18:11:27 -05:00
Isaiah Odhner ef50db81a5 Refactor rectangle handling for handles
Say that ten times fast.

Rectangles are now in the same coordinate spaces, and same representations (x, y, width, height).
2021-02-08 17:55:17 -05:00
Isaiah Odhner d51779df1a Text tool: preview exact size with ghost 2021-02-08 16:21:00 -05:00
Isaiah Odhner a4b9e09d62 Select options when tabbing thru Flip and Rotate window 2021-02-08 14:36:34 -05:00
Isaiah Odhner 46267299d1 Allow clicking custom degrees input to select radio option 2021-02-08 14:28:01 -05:00
Isaiah Odhner afa745c428 Thicken textbox resize ghost 2021-02-08 14:13:37 -05:00
Isaiah Odhner 78712d6abf Update start-server-and-test 2021-02-08 13:41:27 -05:00
Isaiah Odhner 480d33a042 Auto-expand textbox and apply minimum size 2021-02-08 13:41:27 -05:00
Isaiah Odhner 69522dfc80 Text tool: get solid color from patterns 2021-02-08 01:23:15 -05:00
Isaiah Odhner fe3cd5eaa1 Invert monochrome image by swapping the two colors 2021-02-08 01:03:13 -05:00
Isaiah Odhner 23a850d371 Don't show convert to black and white dialog unless option changed 2021-02-08 01:01:54 -05:00
Isaiah Odhner 58ae6c7c7b Edit monochrome patterns palette via the solid colors
Double click on the first color in the first or second row of a monochrome palette to edit the whole palette of dither patterns, as well as the colors in the image (if the image is purely monochrome).
2021-02-08 00:03:48 -05:00
Isaiah Odhner 633d664fb9 Fix behavior when going monochrome and resizing at same time 2021-02-07 23:21:46 -05:00
Isaiah Odhner ea2ca59ce2 Remove ineffectual code
x/y += was ineffectual and misleading since x/y wasn't used.

Technically all the anti-aliased tool code is unused, but it may be later on.
2021-02-07 22:48:05 -05:00
Isaiah Odhner 20edcb5d81 Remove ineffectual "this" binding 2021-02-07 22:34:49 -05:00
Isaiah Odhner c21962bf3d Accept visual changes 2021-02-07 22:25:08 -05:00
Isaiah Odhner 974553bc92 Add wrapper to fix automated visual tests for Image Attributes
and possibly improve cross-browser support for the layout?
2021-02-07 22:23:16 -05:00
Isaiah Odhner 74240d07b1 Localize "Eraser/Color Eraser" in history view 2021-02-07 22:18:32 -05:00
Isaiah Odhner 266a7cb737 Make history view RTL for RTL languages 2021-02-07 22:18:32 -05:00
Isaiah Odhner 7791ecfbd8 RTL: fix layout flipping when dragging components into window 2021-02-07 22:18:32 -05:00
Isaiah Odhner 7b495e3b40 Update cypress-image-snapshot 2021-02-07 22:18:32 -05:00
Isaiah Odhner 710ee8f6a2 Align radio buttons in Image Attributes
This should help with automated visual tests where the radio buttons were for some reason treated as stacked vertically when running headless, and when running interactively (only way to debug), they would show as expected (a heisenbug).
And of course it brings it closer to MS Paint, and looks nicer.

...NOPE, doesn't help.
2021-02-07 22:18:32 -05:00
Isaiah Odhner 5fef213cba Fix Edit Colors window layout in RTL mode (still a LTR layout though) 2021-02-07 22:10:49 -05:00
Isaiah Odhner 13ca5d6fe4 Improve Custom Zoom layout
Also move buttons to left in RTL layout for dialogs like Save As etc.
2021-02-07 22:10:49 -05:00
Isaiah Odhner 8b6260a893 Fix Zoom To legend 2021-02-07 20:00:14 -05:00
Isaiah Odhner cfe0183e69 Remove unused serve module 2021-02-07 13:03:58 -05:00
Isaiah Odhner eb6664db8b Remove unused cross-spawn module 2021-02-07 12:59:56 -05:00
Isaiah Odhner bbd527bfcd Update wallpaper module
"Fix Arch and Kubuntu compatibility"
2021-02-07 12:57:46 -05:00
Isaiah Odhner 4e4edcc1fa Update RTLCSS 2021-02-07 12:56:03 -05:00
Isaiah Odhner c41bdfea2a Improve history prompt window
Better would be to use clippy.js... for nostalgic nagging.
2021-02-07 12:36:46 -05:00
Isaiah Odhner f2afcc7217 Remove devtron, as it no longer works 2021-02-07 12:29:36 -05:00