1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Commit graph

1997 commits

Author SHA1 Message Date
Emmanouil Papadeas ec17e970e0 The Recorder panel now automatically records for the current project
Making its behavior more intuitive and consistent with the other panels. This also allows for multiple projects to be recorder at the same time, something that was not previous before. Changing projects now also changes the UI accordingly, depending on whether the current project is being recorded or not.

This change also fixes a memory leak, where either the first ever project or the last recorded one, stayed forever referenced in memory by the `project` variable.

Also fixed an issue where the recorder's settings size label was not showing the correct project size.
2024-11-03 18:54:08 +02:00
Emmanouil Papadeas 8beb79a33b Fix memory leak where the project remained referenced in BaseDraw even when its tab was closed
Another memory leak remains in Recorder.gd, where the first project forever remains referenced in memory, until the user changes the project from the option button. Perhaps we should remove that option button completely and always record the current project, that also sounds like the intended behavior to me.
2024-11-03 03:36:37 +02:00
Emmanouil Papadeas e2971a8fe9 Add UI buttons for confirming and cancelling a transformation
Needed especially for users without a keyboard.
2024-10-31 23:49:58 +02:00
Emmanouil Papadeas 6863adf957 Implement support for mouse buttons to be used as menu shortcuts - fixes #1070
Also maps the mouse thumb button 1 to undo, and the mouse thumb button 2 to redo.
2024-10-30 14:25:34 +02:00
Variable 2d9a582f21
Added an OKHSL Lightness sorting in palette (#1126)
* added a lightness sort system

* static check

* lightness

* formatting

* more formatting

* more formatting
2024-10-26 01:31:52 +03:00
Emmanouil Papadeas 6c31708e35 Release v1.0.4 2024-10-25 15:48:59 +03:00
Emmanouil Papadeas 638130c5c8 [skip ci] Update AboutDialog.gd 2024-10-25 12:02:26 +03:00
Emmanouil Papadeas 2d7d7e7c06 Allow greater values in the resize slider of the export dialog 2024-10-23 12:02:19 +03:00
Emmanouil Papadeas f42d361a42 Minor UI improvements for the mirroring buttons 2024-10-23 12:00:19 +03:00
Emmanouil Papadeas dd8d217dc3 Changes in formatting due to gdtoolkit's new update
https://github.com/Scony/godot-gdscript-toolkit/releases/tag/4.3.2
2024-10-22 15:54:59 +03:00
Emmanouil Papadeas 17d56bb432 Update tool child scenes to reflect the changes of #1105
Just to fix some warnings
2024-10-22 15:43:07 +03:00
Emmanouil Papadeas e2b54f70f7 Bump pxo file version to 4 to fix blend mode compatibility with older pxo files
The addition of the erase blend mode from #1117 resulted in loading pxo files from v1.0-v1.0.3 to have incorrect blend modes in their layers, if they are set to anything below normal, because the values of the `BaseLayer.BlendModes` enumerator changed.
2024-10-22 15:39:30 +03:00
Emmanouil Papadeas 370ae7525a Fix formatting and make unused docstrings to comments of the previous commit 2024-10-18 00:01:27 +03:00
Variable 2cb29ab274
somewhat fix transparency for floating window (#1116)
* somewhat fix transparency

* some formatting
2024-10-17 19:51:45 +03:00
Emmanouil Papadeas a64f5f3429 Make ExtensionsAPI version 5 backwards compatible with version 4
This means that extensions that use version 4 can work in version 5, but not necessarily vice versa. Therefore we don't need to show a warning message when loading version 4 extensions.

TODO: Find a better way to determine which API versions have backwards compatibility with each other.
2024-10-17 17:16:17 +03:00
Emmanouil Papadeas 203340b3a1 If the selected font index is out of bounds, fall back to Roboto 2024-10-17 16:58:15 +03:00
Emmanouil Papadeas fd714d04df Update the ExtensionsAPI to handle fonts 2024-10-17 16:52:42 +03:00
Emmanouil Papadeas 91f0b26245 Change the font of the interface from the properties 2024-10-17 14:41:43 +03:00
Emmanouil Papadeas 120bd9a7df Use American English spelling for "Center Canvas" to make it more consistent with the rest of the application 2024-10-17 13:46:18 +03:00
Emmanouil Papadeas c83680183b Minor changes in Shading.tscn 2024-10-17 13:08:43 +03:00
Emmanouil Papadeas 263e19f17a Add a tooltip of the "Share options between the left and the right tools" preference 2024-10-17 13:06:53 +03:00
Emmanouil Papadeas 4dc55e538e Fix issues when picking color with the bucket tool
1) The bucket tool now picks colors from the top-most layer, like the rest of the drawing tools.
2) Using the tool while moving the cursor and also holding the color picker shortcut (Alt by default), now picks colors instead of using the bucket tool.
2024-10-17 02:34:27 +03:00
Variable d894e9db86
Added Centre Canvas Option (#1123)
* add a centre frame option

* moved code to view menu

* restore left over stuff

* fix typo
2024-10-16 16:30:30 +03:00
Variable 3863cbaee7
Add a preference to share options between tools (#1120)
* Add share config button

* fill parameter now saves with curve tool

* rename _fill to _fill_inside for sync consistency (fill in pencil and shape tools basically represent the same thing)

* add icon

* Move the option to the preferences

* Add string to Translations.pot

* Re-introduce `is_syncing`

---------

Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-10-16 16:00:20 +03:00
Emmanouil Papadeas 1ae34bf57a Use an anchor and offset preset for the CollapsibleContainer's texture rect 2024-10-15 16:31:04 +03:00
Variable 4561c1fee4
improved rotate/flip brush UI (#1105)
* Update BaseDraw.tscn

* Update BaseDraw.gd

* Implemented proposed changed, Also added a VFlowContainer for Rotate options
2024-10-14 16:08:10 +03:00
Emmanouil Papadeas fe5ced8085 Set the backup confirmation dialog's popup_window to false 2024-10-14 15:55:48 +03:00
Emmanouil Papadeas 9899734090 Ensure that the preview clears when switching to a different tool 2024-10-13 14:22:01 +03:00
HuanWuCode a2e5d165cb
[skip ci] Update PerspectiveEditor.gd (#1119) 2024-10-13 14:03:52 +03:00
Variable c21e089e58
Add alpha erase blend mode (#1117)
* Add alpha erase blend mode

* implemented suggestions
2024-10-13 01:57:10 +03:00
Emmanouil Papadeas 1ed52903b3 Implement the ability to change the font of a 3D text
This code will also be useful for the text tool
2024-10-12 16:30:16 +03:00
Emmanouil Papadeas b52cdc6e7b Fix some text in the About dialog not having the text color of the theme 2024-10-12 15:44:06 +03:00
Emmanouil Papadeas be7d45205e Remove Roboto-Italic
Pixelorama now takes ~100KB less space
2024-10-12 15:36:46 +03:00
Emmanouil Papadeas 9fcb06aa72 Add a 3D text line spacing option 2024-10-12 14:31:15 +03:00
Emmanouil Papadeas bbf0ae8040 Add a 3D text depth option 2024-10-12 01:14:37 +03:00
Emmanouil Papadeas 970b24ec40 Fix 3DShapeEdit option values not updating when selecting 3D objects 2024-10-12 00:52:18 +03:00
Emmanouil Papadeas dcd93b4366 Remove Global.open_sprites_dialog and Global.save_sprites_dialog. 2024-10-11 17:12:55 +03:00
Emmanouil Papadeas ed5449bb66 Use an enum for the loop types in the timeline
I should have done that years ago. Literally. I don't know what took so long.
2024-10-11 16:42:11 +03:00
Emmanouil Papadeas b9bf8290b0 Remove Global.animation_timer 2024-10-11 16:38:35 +03:00
Emmanouil Papadeas dddcfed3c4 Add a new "CanvasRulers" node group for the canvas rulers 2024-10-11 16:31:18 +03:00
Emmanouil Papadeas d05787d6ef Add a new "CanvasPreviews" node group for the canvas previews 2024-10-11 16:24:44 +03:00
Emmanouil Papadeas b79ce0ae15 Add a new "CanvasCameras" node group for the canvas cameras 2024-10-11 14:44:21 +03:00
Emmanouil Papadeas fc695a038e Remove Global.canvas from the canvas' children 2024-10-11 14:08:43 +03:00
Emmanouil Papadeas bd68f3d20b [skip ci] Add some strings to Translations.pot 2024-10-11 13:08:29 +03:00
Emmanouil Papadeas 72da34a97d Fix icons not being set to the correct color when launching Pixelorama with the dark theme 2024-10-11 13:03:26 +03:00
Emmanouil Papadeas ffc98a4b7f Remove confusing text from the tooltips of the play animation buttons
Addresses #1114
2024-10-10 16:33:50 +03:00
Emmanouil Papadeas 7a3050b5a0 Fix formatting 2024-10-10 15:29:41 +03:00
Emmanouil Papadeas 55325a38a4 Use a Vector2i in Selection.gd when pasting 2024-10-10 15:29:36 +03:00
Emmanouil Papadeas 8802e3ab41 Slightly improve camera zoom and pan touch gestures
Not quite there yet
2024-10-10 15:29:12 +03:00
Emmanouil Papadeas abcf6f5ec6 Remove unneeded Global.current_project in SymmetryGuide 2024-10-10 15:28:46 +03:00
Emmanouil Papadeas 9cf3045bf3 Fix "previous_project" shortcut not doing anything when we are on the first tab 2024-10-10 15:27:45 +03:00
Emmanouil Papadeas 39afb5e15b Add buttons with menus that move the symmetry guides to the center of the canvas, or the view center 2024-10-10 15:27:06 +03:00
Emmanouil Papadeas 7eeb0b0cba Add a clear recently open file list option 2024-10-10 00:42:40 +03:00
Emmanouil Papadeas 2f24508dea Add a new Reset category in the Preferences 2024-10-09 21:20:17 +03:00
Variable 0551b23a19
ColorReplace Shading Mode (#1107)
* ColorReplace Sdading Mode

* Fixed changing colors array by mistake

* the tool now takes more things into account

* Make it work with transparent colors (more consistent with aseprite), and improve ui a bit. This should be the last commit to this pr
2024-10-09 11:29:46 +03:00
Variable b350f436c6
Allow clipping to selection during export (#1113)
* Allow clipping to selection during export

* linting

* removed shader
2024-10-01 20:18:58 +03:00
Variable 564b199fa9
Add hotkeys to switch between tabs (#1109)
* Added hotkey to switch tab

* Linting
2024-09-29 00:15:37 +03:00
OverloadedOrama 597db5d44e Fix projects being saved with the wrong name on the Web version 2024-09-28 23:19:14 +03:00
OverloadedOrama dbe48a4681 Fix issue where sometimes the camera zoom was not being preserved when switching between projects 2024-09-24 11:59:18 +03:00
Variable 10e457bf26
Set dynamics dialog to correct size after something is made visible … (#1104)
* Set dynamics dialog to correct size after something is made visible or hidden

* use a separate function instead of lambdha
2024-09-20 18:45:06 +03:00
Emmanouil Papadeas 9824aef893 Attempt to fix the preview of the move tool not being aligned to the pixel grid 2024-09-19 00:38:46 +03:00
Variable 51f6816433
Fixed a colorpicker bug (fixed inconsistent raw values) (#1108)
* Fixed a colorpicker bug

* Some changes in the comments

We should probably avoid using "I" in comments, as it's not clear who is speaking, and `##` should only be used for documentation string and not normal comments.

---------

Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-09-18 01:09:37 +03:00
Variable b5ded76654
Stretch mode and expand mode fixes (#1103)
* Set dynamics dialog to correct size after something is made visible or hidden

* fixed aspects of brush buttons

* Fixed wrong stretch mode

* improved rotation brush UI

* Update PaintSelect.tscn

* formatting

* fix all stretch modes

* fix export expand mode

* Fix more Stretch modes

* Fixed Resize canvas transparent checker

* removed an addition

The change: 625fe4cdd1
is moved over to a new pr

* moved some changes to another pr

* Moved some more changes to another pr
2024-09-17 21:38:21 +03:00
Emmanouil Papadeas 52e45b158b Release v1.0.3 2024-09-13 17:02:35 +03:00
Emmanouil Papadeas 8c7594a1c8 Add a failsafe to the previous commit's solution 2024-09-13 01:05:53 +03:00
Emmanouil Papadeas 1e2e5dc431 Fix wrong preview in the gradient dialog when editing the gradient and dithering is enabled 2024-09-13 01:02:48 +03:00
Emmanouil Papadeas 6ad23f8485 Second attempt to fix a visual bug with resize canvas' dialog preview 2024-09-12 21:08:32 +03:00
Emmanouil Papadeas 462a95a5ae Fix visual bug with the preview of the resize canvas dialog 2024-09-12 20:23:18 +03:00
Emmanouil Papadeas 1b48eac843 Fix crash when using the move tool snapped to the grid 2024-09-12 18:26:42 +03:00
Emmanouil Papadeas 3bd7e94a59 Minor cleanups to some shader code 2024-09-11 17:01:44 +03:00
Emmanouil Papadeas 8f6eba3f84 Make the Gaussian blur dialog invisible 2024-09-11 17:01:25 +03:00
Emmanouil Papadeas 62d573ae01 Fix issue when exporting and the user has specific frames selected, then changes the layers and then changes the frames again 2024-09-11 17:01:03 +03:00
Emmanouil Papadeas 504313483d Change trim_sprite to trim_images variable name in Export 2024-09-11 17:00:23 +03:00
Emmanouil Papadeas b962b31568 Make some method names in ExportDialog lowercase
They were named this way due to the naming conventions of Godot 3, but Godot 4 automatically makes these method names be all lowercase. Eventually we should replace all methods in the codebase to be all lowercase.
2024-09-11 16:59:53 +03:00
Emmanouil Papadeas 54068895bc Rename "trim sprite" to "trim images" and add the related strings to Translations.pot
"Trim images" should be a more fitting name for this option, as it's quite common to export multiple images and the use of plural makes it more clear that this option applies to all exported images.
2024-09-11 16:45:16 +03:00
Emmanouil Papadeas a5a74e99a3 Fix crash when re-arranging palette swatches while holding Shift 2024-09-11 16:18:19 +03:00
Emmanouil Papadeas a5efb97d58 Set the group layer's default blend mode to Pass through
Mostly for performance reasons, but also to make it consistent with Photoshop and Photopea
2024-09-10 02:03:07 +03:00
Emmanouil Papadeas f9dd09dc2c Update AboutDialog.gd 2024-09-09 00:52:20 +03:00
Emmanouil Papadeas 321102e8fe Add Gaussian Blur as an image effect 2024-09-08 03:13:55 +03:00
Emmanouil Papadeas c2ce4a4a69 Change the pattern parameter node of the outline layer effect to an OptionButton
Consistent with the image effect
2024-09-08 02:40:55 +03:00
Emmanouil Papadeas b3021ceb67 Add a gaussian blur layer effect 2024-09-08 02:40:28 +03:00
Emmanouil Papadeas 28e143e033 Make the color picker popup in GradientEdit moveable 2024-09-07 17:19:42 +03:00
Emmanouil Papadeas f162f12fbf Save the onion skinning opacity in the config file 2024-09-07 03:59:19 +03:00
Emmanouil Papadeas a0c7dd4527 Optimize the export dialog by caching all of the blended frames
No more slowness when changing the export settings. The only setting that causes the frames to be blended again is changing the layers.
2024-09-05 04:50:36 +03:00
Emmanouil Papadeas 9650dae678 Optimize the pencil & curve's fill inside option by making them check fewer pixels
Same logic as the previous commit
2024-09-05 03:50:37 +03:00
Emmanouil Papadeas 1e9c8487ba Optimize the lasso & polygon select tools by making them check fewer pixels
The time they take to complete now depends on the size of the selection, rather than checking all of the pixels of the entire canvas.
2024-09-05 03:34:30 +03:00
Variable 4a7f7cbde5
Added a way to modify shader textures (#1096)
* experimental support for texture changes

* fix some typos

* formatting + some improvements

* Some final touches, i think it's ready now

* moved a function to the shaderloader

* formatting

* add a void
2024-09-03 03:38:56 +03:00
Variable fa9536ce4a
Fix typos and stuff (#1099) 2024-09-03 00:20:50 +03:00
Emmanouil Papadeas 9cac98c941 Add an alpha uniform to the IndexMap shader
In case users don't want the effect to affect the alpha channel
2024-09-02 02:21:48 +03:00
Variable 167b0d863c
fix wrong stretch mode in cel preview (#1097) 2024-09-02 02:03:39 +03:00
Emmanouil Papadeas 46b0b124f4 I forgot to include Export.gd in the previous commit
Oops
2024-09-01 03:25:26 +03:00
Emmanouil Papadeas 69ce932f1c Add a quality slider to the export dialog when exporting jpeg files 2024-09-01 02:49:13 +03:00
alikin12 1460ba2e89
Set timeline layer and frame header to be fixed on top (#1095) 2024-09-01 02:30:36 +03:00
Variable a7f1486ec3
Index Map (#1093)
* Index Map

* Formatting

* improve description a bit.
2024-08-31 02:53:27 +03:00
Donte 4fa8981590
Add onion skinning opacity adjustment (#1091)
Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
2024-08-30 22:58:28 +03:00
Vaibhav Kubre 613dd5d7f6
feat: Added option to trim sprites empty area while exporting (#1088)
* feat: Added trim sprite option works like charm

* fix: format issue

* ran working gdformat
2024-08-29 19:07:48 +03:00
Emmanouil Papadeas 702197c639 Fix issue where the '\n` escape character got inserted inside the palette name, causing it to fail to be saved 2024-08-28 18:17:30 +03:00
Emmanouil Papadeas ab6c54ecb1 If a palette fails to save, show an error popup with an error code and message
Instead of just a notification, which can easily be missed and it doesn't explain the cause of the error
2024-08-28 17:40:48 +03:00
alikin12 987366fa8f
Add global layer buttons (#1085) 2024-08-28 02:53:05 +03:00
Emmanouil Papadeas d70ddd72db Release v1.0.2 2024-08-21 16:11:38 +03:00
Emmanouil Papadeas 9be3ba290c Update AboutDialog.gd 2024-08-21 14:30:47 +03:00
Emmanouil Papadeas bdef545727 Fix issue when merging two layers, where if the bottom layer had layer/cel transparency, the transparency would be applied in the content destructively 2024-08-17 02:38:27 +03:00
Emmanouil Papadeas 29f9601d8a Revert "Fix cursor blinking at the edge of canvas (#1075)"
This reverts commit 77f6860f7a.
2024-08-17 00:59:48 +03:00
Emmanouil Papadeas 410f06435c Fix issue where color sliders wouldn't be visible during startup, if the color options button was expanded 2024-08-16 19:29:32 +03:00
Emmanouil Papadeas d531e9ace8 Create a new ShaderLoader class to move some code away from Global 2024-08-16 18:43:25 +03:00
Emmanouil Papadeas c58ce49ec1 Fix typo 2024-08-16 14:29:02 +03:00
Emmanouil Papadeas b0aabe4e8a Add a preference to change max undo steps 2024-08-16 14:28:54 +03:00
Emmanouil Papadeas 19574bca7d Implement the ability to save with blended images with native file dialogs
Fixes #1058
2024-08-16 13:59:14 +03:00
Emmanouil Papadeas c1fb706a33 Remove unnecessary variable from change_layer_automaticaly() 2024-08-16 13:57:51 +03:00
Emmanouil Papadeas cfbe851da5 Add a convolution matrix layer effect
Still WIP, could use some extra parameters such as RGBA channel, and I should also implement it as an image effect.
2024-08-16 04:24:43 +03:00
Emmanouil Papadeas 2e3f0a2696 Add <kbd>Control+Shift+Alt</kbd> as a shortcut that automatically selects a layer directly from the canvas when using tools 2024-08-15 20:16:43 +03:00
Emmanouil Papadeas 077c57c53a
Implement support for group layer blending (#1077)
* Blend group layers on `DrawingAlgos.blend_layers()`

* Support group layer blending on the canvas

* Allow editing of group layer properties

* Fix issues with group layer blending in canvas, and unite common code

* Group layers can now be used as clipping masks

* Make move tool preview work on child layers

* Change OffsetImage's `blend_layers()` to support group layer blending

* Support group layer blending in the canvas preview

* Fix layer blending mode, clipping mask opacity and cel opacity not being updated automatically if the layer/cel changed is not selected

* Add a pass through blending mode to layer groups

Fingers crossed that no bugs were introduced

* Fix issue with layers that belong to pass through groups not updating their textures on the canvas automatically on undo
2024-08-15 15:52:55 +03:00
alikin12 f6f40e03e5
Fix Orama-Interactive#958 (reset custom brush when switch another tool) (#1078) 2024-08-15 15:42:01 +03:00
Emmanouil Papadeas 04a5292672 Use exact match for the draw_color_picker shortcut 2024-08-15 04:36:33 +03:00
Emmanouil Papadeas 1d5de2ed86 Implement the ability to move all selected cels on between different frames, but on the same layer
You currently cannot move multiple cels on different layers, they still act as swapping. Eventually I'd also like to implement moving cels between different layers, but they would also have to be on the same frame. I don't think moving cels between different layers and frames at the same time is possible.
2024-08-13 23:25:29 +03:00
Emmanouil Papadeas 1a99d524d1 Fix some buttons not being affected by the custom icon color on startup 2024-08-13 04:23:56 +03:00
Emmanouil Papadeas 8163015c02 Change blend modes of multiple selected layers from the timeline
And also add undo/redo when changing the blend mode from the layer properties dialog. Not sure why I had made their behaviors so inconsistent.
2024-08-13 00:53:37 +03:00
Hamster 77f6860f7a
Fix cursor blinking at the edge of canvas (#1075)
* fix: mouse blinking at the edge of painting canvas

* format: reformat src/UI/ViewportContainer.gd

* format: reformat according to gdlint

* refactor: removed unused code comments
2024-08-12 19:44:48 +03:00
Emmanouil Papadeas 15c186d8a1 Re-introduce #729 to fix an issue where the bucket tool filled with a slightly wrong color
We should probably keep this issue in mind though in case we find a better solution, but this seems to be working for now.
2024-08-12 16:36:20 +03:00
Emmanouil Papadeas 6e360505e3 Silence already connected signal errors in the tile mode offsets dialog 2024-08-12 02:36:45 +03:00
Emmanouil Papadeas c4beee6f41 Fix crash when importing brushes and palettes 2024-08-12 02:34:51 +03:00
Emmanouil Papadeas 68be6ac106 Allow editing of non-pixel cel properties 2024-08-11 15:03:33 +03:00
Emmanouil Papadeas 3113459224 Fix #1074 2024-08-11 11:05:02 +03:00
Emmanouil Papadeas 9c170ee5a0 Fix group layer children blending not working with nested group layers and with layer effects 2024-08-11 01:38:18 +03:00
Emmanouil Papadeas f3ee00a944 Fix crashes when attempting to export specific layers or tags that have been deleted 2024-08-11 01:00:10 +03:00
Emmanouil Papadeas 363c764fc1 Use the blend layers shader to blend the children of group layers 2024-08-11 00:51:31 +03:00
Emmanouil Papadeas bdc1b5af11 Add a blend_layers_headless method to DrawingAlgos 2024-08-11 00:35:16 +03:00
Emmanouil Papadeas 19e4c94fe3 Add a resized signal to Project, remove the Global.tile_mode_offset_dialog variable
Continue to slowly remove nodes from `Global`.
2024-08-10 22:47:06 +03:00
Emmanouil Papadeas 1678738d75 Add tolerance to the magic wand, rename "similarity" to "tolerance" in the select by color tool and make it work the inverse way
Continuation of b0a284583b for the selection tools.
2024-08-10 18:43:04 +03:00
Emmanouil Papadeas b0a284583b Add tolerance to the bucket's "similar area" mode, rename "similarity" to "tolerance" and make it work the inverse way
A slightly breaking change for a minor update, but one that needed to be done. The bucket tool's "similarity" (now renamed to "tolerance") used to work the opposite way from all other software, the maximum value meant exact color match and 0 meant no color match. Now it works the inverse way to make it be consistent with other software, and the range is now 0-255 instead of 0-100. 0 means exact color match, 255 means no color match. And tolerance also now works for the "similar area" mode as well.
2024-08-10 18:20:42 +03:00
kleonc 92d7bbf539
Fix isometric grid calculations using ints instead of floats (#1069) 2024-08-09 15:33:45 +03:00
Emmanouil Papadeas e83d560741 Release v1.0.1 2024-08-05 22:16:25 +03:00
Emmanouil Papadeas 699c9cda87 Fix the name of the new image effect 2024-08-05 13:18:12 +03:00
Emmanouil Papadeas f299cf1339 Update AboutDialog.gd 2024-08-05 13:13:16 +03:00
Emmanouil Papadeas fbe2952346 Make shape previews look like they did in v1.0
The AutoInvertColors shader has been updated to make shapes hollow, similar to how the marching ants outline works.
2024-08-04 22:12:57 +03:00
Emmanouil Papadeas a3d7725a44 Fix popups appearing in wrong places when single window mode is disabled 2024-08-03 22:36:05 +03:00
Emmanouil Papadeas 95d96b9b00 Manually write lines in the override.cfg file instead of using ProjectSettings.save_custom() 2024-08-03 22:04:32 +03:00
Emmanouil Papadeas 17ad9eb8b5 Fix issue with popups being unclickable disabled single window mode
Should fix #1054
2024-08-03 21:27:39 +03:00
Emmanouil Papadeas 8c6bf08aef [skip ci] Fix typo in ExtensionsAPI 2024-08-02 21:43:57 +03:00
Emmanouil Papadeas b6583e4133 Fix two bugs with palettes, see description
1) `Palettes`'s `reindex_colors_on_width_increase()` was not changing the `index` of `PaletteColors`, thus resulting in the opened palette itself and the saved file having different indices, which could've caused conflicts with multiple colors sharing the same index, if the user re-arranged the palette after resizing it.

2) If the width was increased but the height increased, the positions of the colors remained the same, which resulted in the colors being in the columns that were removed, to be removed themselves. Now, the colors are taking advantage of the empty space, in order to remove as less as colors as possible. No colors will be removed if the width times the height is equal to or greater than it was before.
2024-08-02 21:32:53 +03:00
Emmanouil Papadeas f7296efbc5 Enable exclusive and disable popup_window flags in the palette dialogs 2024-08-02 20:59:59 +03:00
Emmanouil Papadeas c0c391674d [skip ci] Change instances of "yield" to "await" in comments 2024-08-02 00:42:14 +03:00
Emmanouil Papadeas 1ad4c2357f In the Canvas scene, make Previews and PreviewsSprite nodes share the same material 2024-08-02 00:03:45 +03:00
Emmanouil Papadeas 0ea0406233 Add an adjust brightness/contrast image effect
Thanks to https://godotshaders.com/shader/color-manipulator/

The shader has more options than just brightness and contrast though, but I didn't know how else to name the effect. "Adjust Brightness/Contrast" makes it immediately obvious as to what the effect is about.
2024-08-01 21:21:45 +03:00
Emmanouil Papadeas 4d26a6dd55 Fix warnings in some shaders 2024-08-01 15:51:46 +03:00
Emmanouil Papadeas 68b4047e72 Enable exclusive and disable popup_window flags in some more dialogs
I forgot to include these changes in 95b5102394
2024-08-01 01:23:33 +03:00
Emmanouil Papadeas 6e41496ec9 [skip ci] Update translations 2024-08-01 00:24:25 +03:00
Emmanouil Papadeas 95b5102394 Enable exclusive and disable popup_window flags of all the dialogs
Closes #1061, fixes issue where when Pixelorama's window loses focus, the dialogs disappeared, but the dialogs can no longer close when pressing outside of them.
2024-07-31 22:49:30 +03:00
Emmanouil Papadeas 8ba2b62921 Mirror the previews of the shape tools
Now they are consistent with the selection tools
2024-07-31 22:23:50 +03:00
Emmanouil Papadeas 8e90271a64 Disable show hidden files by default in the export dialog
Maybe that is what caused #1060?
2024-07-31 21:41:18 +03:00