David Capello
5ae7076d65
Add extra check/asserts to detect/avoid a reported crash in draw_image_into_new_tilemap_cel ( fix #2770 )
2021-06-16 09:39:42 -03:00
David Capello
b83f2953f9
Merge branch 'main' into beta
v1.3-beta4
2021-06-11 16:36:57 -03:00
Gaspar Capello
1eace24891
Improve aspect of ellipses for 16x16 or bigger sizes ( fix #2217 )
...
Now algo_ellipse() function supports additional parameters to create
rounded squares in the future.
2021-06-11 14:47:23 -03:00
David Capello
2c82e19669
Allow dragging mouse up/down to change zoom too
2021-06-11 14:35:20 -03:00
David Capello
90911f97d0
Hide dynamics on Zoom/Move/Eyedropper/etc. tools
2021-06-11 14:29:58 -03:00
David Capello
65fabf3a68
Update README/LICENSE files in src/desktop
2021-06-11 12:18:45 -03:00
David Capello
49bcc69c9a
Add stabilizer options for the Lasso tool
2021-06-11 12:07:28 -03:00
David Capello
cb6ccc3dc5
Fix the displayed mouse cursor when the selection is active
...
Regression introduced in 8c916bf2113e21a079d030ae57995a0812a4ab2e
2021-06-11 11:46:56 -03:00
David Capello
17ddf8421f
[win] Fix possibility to click the user data icon in Cel Properties when it's collapsed
2021-06-11 11:30:08 -03:00
David Capello
a860ce64bf
Fix minimum size of windows (because Cel Properties requires a smaller size)
...
Regression introduced in 0b33d154623f227f9ab094c0b81b147bce553d92
2021-06-11 11:28:56 -03:00
David Capello
9f300bf55d
Better handling of Cel Properties for multiple cels
2021-06-11 11:04:52 -03:00
David Capello
a4e7ac13c1
Fix crash in Cel properties dialog when range is enabled & active cel is empty
2021-06-11 10:45:49 -03:00
David Capello
1fd2e97b8d
Add stabilizer ( fix #2371 )
2021-06-11 09:08:12 -03:00
David Capello
83d8cfc33f
Update laf module
...
Fixed a GDI leak on Windows and a performance issue creating HBITMAPs
for our custom HCURSORs.
2021-06-10 13:13:24 -03:00
David Capello
64f06ab9b9
Fix crash invalidating new Editor for preview window in certain cases
2021-06-10 12:27:51 -03:00
David Capello
459d21ac4c
Avoid continuous redrawing events when moving mouse on Edit > Preferences listbox of sections
2021-06-08 20:34:57 -03:00
David Capello
5dffcc384a
Invalidate only canvas area when we change frame/play animation
2021-06-08 20:34:15 -03:00
David Capello
ea468b7ed0
Don't layout StatusBar/redraw zoom field when playing animation
2021-06-08 20:20:11 -03:00
David Capello
3e3a7dbe27
Avoid redrawing the whole ColorBar when playing the animation
2021-06-08 20:11:31 -03:00
David Capello
45337ccbac
Avoid redrawing the whole ContextBar while playing an animation
2021-06-08 20:02:02 -03:00
David Capello
bcfd06fd1b
Avoid regenerating timeline when we execute commands that don't modify the doc
...
For example, without this patch we were re-generating/painting the
whole timeline when zooming the editor.
2021-06-08 19:46:37 -03:00
David Capello
dc787b6721
Fix UI feedback when DEBUG_PAINT_EVENTS is defined on Windows
2021-06-08 19:42:12 -03:00
David Capello
55db5ac6f2
[win] Fill the whole available space for the File Explorer thumbnail
2021-06-08 16:44:58 -03:00
Gaspar Capello
bec5a14e22
Change octree quantization is the new palette creation method on gif format coding/decoding
v1.3-beta3
2021-06-07 18:01:27 -03:00
David Capello
06a387fd45
[lua] Fix using Dialog.bounds property with multiple windows
...
Fixes for:
https://community.aseprite.org/t/9277
https://steamcommunity.com/app/431730/discussions/0/3091137796288948505/
2021-06-07 17:39:12 -03:00
David Capello
fb88a5c1f1
Message::setPropagateToChildren() receives a bool argument
2021-06-07 17:17:18 -03:00
David Capello
7d809bd537
Remove unused var
2021-06-07 16:14:40 -03:00
David Capello
eec9ed0bcc
Fix a couple of minor leaked ui::Messages
2021-06-07 15:20:45 -03:00
David Capello
b02fc43506
Add info msg when LAF_BACKEND=none is used and GUI cannot be initialized
2021-06-07 15:05:35 -03:00
David Capello
2c56ebdd8c
Merge branch 'main' into beta
2021-06-07 14:39:59 -03:00
David Capello
364b121fb3
Fix some memory leaks reported by g++ 11 memory sanitizer
2021-06-07 14:19:54 -03:00
David Capello
1889e1b4a5
Don't ignore alert dialogs for fatal incompatibilities when saving
...
E.g. if we are going to save an indexed file as .jpg, it's a fatal
error, so we have to show the alert dialog (even when the user chose
to ignore this kind of messages warnings).
2021-06-07 13:00:01 -03:00
David Capello
fabaadd559
Update laf module
2021-06-07 10:47:26 -03:00
David Capello
32e53ef432
Update laf module
2021-06-07 10:12:26 -03:00
David Capello
d618bada49
Merge branch 'main' into beta
v1.3-beta2
2021-06-04 13:31:51 -03:00
David Capello
51f2411076
[win] Fix issue w/Snipping Tool sending the window to the back
2021-06-04 13:06:26 -03:00
Martín Capello
d8b829a91f
Fix the pixel perfect behavior when cel origin has negative x or/and y coordinates ( #2748 )
2021-06-04 10:23:20 -03:00
Martín Capello
687156a9ca
Remove unnecessary copy() call.
2021-06-04 10:23:16 -03:00
Gaspar Capello
5f48d77786
Add octree quantization algorithm supports alpha channel
...
Before this commit, Octree wasn't support alpha channel.
Also the automatic quantization algorithm selection was removed because Octree support alpha channel now.
2021-06-04 10:06:06 -03:00
Gaspar Capello
59ed2bbe9d
Minor simplifications in the octree algorithm
2021-06-04 10:06:02 -03:00
David Capello
e6ec13cc31
Improve the ui::MessageLoop waiting for events for a specific time
...
In this way we can remove the busy wait hack, and finally wait the
required time for an event or the next running ui::Timer that will
timeout.
2021-06-03 19:52:43 -03:00
David Capello
ad7c319dcd
[win] Fix regression where we cannot click buttons/move tabs
...
The issue is that ui::Widget::hasMouseOver() uses
ui::get_mouse_position() which uses os::System::mousePosition(), and
it looks like GetMousePos() on Windows doesn't inform the
absolute/screen stylus/pen position correctly.
As a future task we should try to avoid using ui::get_mouse_position()
as much as possible.
2021-06-03 12:34:50 -03:00
David Capello
e066d45eb6
Fix keeping tiles (that are removed) references into clipboard
...
Without this fix we can reproduce an ASSERT() fail in Object::setId()
from AddTile::onRedo() (or RemoveTile::onUndo()) doing the following
steps:
1. Creating a tilemap layer with some tiles
2. Selecting a set of tiles (in tile mode) and using "Edit > Cut"
(this was creating a copy of the tileset with the original images)
3. Resizing tileset to 0 (to remove all tiles)
4. And then undoing (to restore all removed tiles)
The ASSERT() was because the restored tiles wanted to use the same ID
of the tile images in the clipboard.
2021-06-02 18:54:24 -03:00
David Capello
3ef3ee68e0
Minor change in doc::Tileset asserts
2021-06-02 10:18:56 -03:00
David Capello
649f187fc9
Possible fix for a crash transforming tilemaps in certain cases
...
Crash report: https://igarastudio.zendesk.com/agent/tickets/2300
2021-06-01 10:43:03 -03:00
David Capello
7bcd511315
Fix crash on debug when painting on removed tiles after resizing the tileset
2021-06-01 10:11:24 -03:00
David Capello
f6ba8d9ae0
Allow to drag mouse outside color wheel to select colors at the circumference
2021-05-31 15:00:21 -03:00
David Capello
779bf09893
Fix color wheel radius ( fix #2737 )
2021-05-31 14:50:01 -03:00
David Capello
0b33d15462
Fix hidden initial window position in certain cases
...
Reports:
https://community.aseprite.org/t/9327
https://igarastudio.zendesk.com/agent/tickets/2295
2021-05-31 11:13:43 -03:00
David Capello
fffca9e969
Fix white/black flash on Windows/macOS when showing a new native window
2021-05-31 11:11:33 -03:00