Commit Graph

5730 Commits

Author SHA1 Message Date
David Capello
f329f8b50c Snap brushes on grid corners (#1465) 2017-06-29 15:57:44 -03:00
David Capello
7690cedcbe Improve snap to grid for line, ellipse, and rectangle (fix #1500) 2017-06-29 15:33:12 -03:00
David Capello
7072ecebe3 Avoid crash loading old themes without <style> information 2017-06-29 15:26:18 -03:00
David Capello
a92f476e3a Don't change color type when alpha slider is modified on ColorPopup
Bug reported here: https://twitter.com/chefkoch104/status/879664806864748544
2017-06-29 15:01:11 -03:00
David Capello
71b7ee12ec Don't show custom brush options on Gradient tool 2017-06-29 14:46:12 -03:00
David Capello
91c9cc29b0 Use fg/bg color alpha to modify custom brush alpha
Bug reported here: https://twitter.com/dovker/status/880137802142429184
2017-06-29 14:24:53 -03:00
David Capello
cc8337fa84 Fix User-Agent on Linux to include the distribution name/version 2017-06-29 13:03:28 -03:00
David Capello
55637693dd Add X key to switch colors in Replace Color dialog (fix #1430)
Requested here too:
https://community.aseprite.org/t/swap-foreground-and-background-colors-quickly-with-button/114
2017-06-29 11:43:21 -03:00
David Capello
496e396d4f Fixed issue using Ctrl+Shift to move a cel when we have Pencil tool selected
Bug report: https://community.aseprite.org/t/problem-with-a-move-tool/101
2017-06-28 17:45:13 -03:00
David Capello
052e2faac3 Don't depend on bcrypt.dll on Windows (fix #1520) 2017-06-28 17:24:17 -03:00
David Capello
f02ad4a71c Fix crash removing layer when some of its cel has autoguides 2017-06-28 17:20:08 -03:00
David Capello
1a65f21f72 Disable lzma in libarchive 2017-06-24 13:44:25 -03:00
David Capello
72c1f9b765 Current theme can be uninstalled (so we can upgrade it)
Only the default theme cannot be uninstalled.
2017-06-23 15:19:00 -03:00
David Capello
08c70cc6ab Show all frame tags on "Go to frame" by default 2017-06-23 15:15:17 -03:00
David Capello
7156c4ae98 Fix user extensions path on Windows 2017-06-23 15:09:41 -03:00
David Capello
329e556127 Change size hint for color sliders for a better Hue/Saturation dialog default size 2017-06-23 12:24:01 -03:00
David Capello
690d3f5a5e Avoid std::find() for each pixel on HueSaturation for RGB images 2017-06-23 12:17:07 -03:00
David Capello
59c7f7dcec Support hue/saturation adjustments on color palettes of RGBA sprites 2017-06-23 10:39:53 -03:00
David Capello
d0635c3c0b Fix construction of json11::Json object
Don't call Json() ctor directly (gcc error)
2017-06-23 10:29:24 -03:00
David Capello
5d2ed8ce4b Update tooltips when keyboard shortcuts are modified
This was implemented only for ContextBar and ColorBar at the moment.
2017-06-23 10:16:37 -03:00
David Capello
5224c98b9a Disable palette edit mode for grayscale sprites 2017-06-23 09:35:44 -03:00
David Capello
2c3c7d7c0b Add some tooltips to context bar
This should be automatic, but that is for a future version.

Request:
https://community.aseprite.org/t/show-keyboard-shortcuts-on-every-context-bar-tooltip-element/56
2017-06-23 09:02:59 -03:00
David Capello
81ccbee4a2 Safer method to delete installed extension files through __info.json 2017-06-23 08:29:21 -03:00
David Capello
4ccecdeda2 Show alert when we upgrade an existent extension 2017-06-23 07:53:31 -03:00
David Capello
19f6dcfc58 Don't alter pasted image position if it's off canvas (fix #1447)
Now we limit only one pixel inside the sprite bounds.
2017-06-23 07:01:12 -03:00
David Capello
5e24be7ef7 Limit X/Y pasted position separately by axis (#1447)
Use case:
https://github.com/aseprite/aseprite/issues/1447#issuecomment-310582226
2017-06-23 06:29:36 -03:00
David Capello
ab39ec63a8 Minor change in algo_line() comment 2017-06-23 06:18:08 -03:00
David Capello
88e0596692 Reimplement line algorithm (fix #1395) 2017-06-22 21:10:44 -03:00
David Capello
ac44c4ab97 Wait data recovery background thread cancelation on palette changes 2017-06-22 19:40:02 -03:00
David Capello
5da6dc514a Show the kMoveCursor in ColorPopup client area 2017-06-22 19:35:01 -03:00
David Capello
35764bd969 Fix floating close button in ColorPopup when the window is too narrow 2017-06-22 19:11:46 -03:00
David Capello
3f5bfa6d99 Remove unnecessary asserts from create_tool_loop() 2017-06-22 19:04:44 -03:00
David Capello
5ac5b358f3 Fix problem showing Index/Mask with other tabs on ColorPopup
We were able to click on Index (or Mask) and then Shift+click other
tab (like RGB) to show it. With this patch this is not possible anymore.
2017-06-22 18:56:05 -03:00
David Capello
0ced31a447 Hide "Index" tab in FG/BG color popups
The "Index" tab doesn't make sense in the foreground/background color
selector because we already have the color bar at the left of the screen
to click on a palette entry.
2017-06-22 18:55:56 -03:00
David Capello
84282764ee Merge branch 'master' 2017-06-22 17:49:59 -03:00
David Capello
8d693d1a08 Add Ctrl modifier to Shift+pencil to enable angle snap (#1387) 2017-06-22 17:49:26 -03:00
David Capello
7d1404de0a Unify palette editor with color selection (fix #1102)
Added a new A key shortcut (equal to F4) to switch between
selection/edition modes.
2017-06-22 17:44:34 -03:00
David Capello
85b7996e9a HueSaturation can be used for palette and pixels on indexed images now
If there are an active selection: we adjust pixels, if there is no
selection, we adjust palette entries.
2017-06-21 23:13:43 -03:00
David Capello
4834ff3320 Support applying Hue/Saturation filter in selected palette entries 2017-06-21 22:31:18 -03:00
David Capello
6f1f7e41bf Modify the color palette when HueSaturationFilter is used in an indexed image 2017-06-21 21:03:56 -03:00
David Capello
b3c83d6905 Add possibility to show RGB/HSV/HSL sliders at the same time 2017-06-21 19:54:17 -03:00
David Capello
55646484f0 Move community link first 2017-06-20 18:43:51 -03:00
David Capello
5488830d6a Update support links 2017-06-20 18:43:18 -03:00
David Capello
028fb19b4e Fix problem using Shift+Pencil tool to draw a straight line with pixel-perfect mode 2017-06-19 17:40:31 -03:00
David Capello
a517ed2fff Minor change in ToolLoopBase() ctor 2017-06-19 17:39:08 -03:00
David Capello
76f2502b98 Start a straight line w/Shift key only if mouse is on the editor 2017-06-19 13:19:35 -03:00
David Capello
7323f1d071 Fix keyboard shortcuts with Shift+ key when pencil tool is active 2017-06-19 13:17:09 -03:00
David Capello
40136e5074 Fix problem using Shift key on non-active editor
This avoid using focusing a non-active/visible editor with Shift key if
there is no last position set in the active editor yet.
2017-06-19 12:34:56 -03:00
David Capello
b7d6311c4c Add support to jump to a frame tag on "Go to Frame" 2017-06-19 11:23:40 -03:00
David Capello
a370a6e719 Pencil: support multiple lines with Shift+click (#1387) 2017-06-16 16:42:55 -03:00