Fredia Huya-Kouadio
de20011cbe
Make tab's close button responsive to touch taps
2023-04-22 20:31:18 -07:00
Rémi Verschelde
4c5a934408
Merge pull request #68960 from lawnjelly/multirect
...
Batching - Add MultiRect command
2023-04-17 17:25:20 +02:00
kobewi
fdae01de10
Add set_value_no_signal() to Range
2023-03-13 16:36:18 +00:00
lawnjelly
57306bf0e3
Fix TextEdit color_region_cache bug
...
Due to a single error, _is_line_in_region was previously iterating over the color highlighting for the entire document repeatedly for each line in the script.
This is now fixed, which should make the editor much faster with large scripts.
2023-03-11 16:18:29 +00:00
lawnjelly
910ddd13c4
Batching - Add MultiRect command
...
Large groups of similar rects can be processed more efficiently using the MultiRect command. Processing common to the group can be done as a one off, instead of per rect.
Adds the new API to VisualServerCanvas, and uses the new functionality from Font, BitmapFont, DynamicFont and TileMap, via the VisualServerCanvasHelper class.
2023-03-10 10:58:04 +00:00
Ninni Pipping
8185fa8e2a
[3.x] Backport Tree::set_selected
...
Backport function from godotengine#68448
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-02-27 20:26:15 +01:00
Rémi Verschelde
b53302891a
Merge pull request #73206 from akien-mga/3.x-rtl-custom_effects-fix-hint
...
RichTextLabel: Fix hint string for custom_effects property
2023-02-13 13:08:36 +01:00
Rémi Verschelde
48217503c5
Merge pull request #68576 from Maran23/rich-text-label-bbcode-color-tag-fix
...
[3.x] Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
2023-02-13 13:08:13 +01:00
Rémi Verschelde
32b3ef7727
RichTextLabel: Fix hint string for custom_effects property
...
Fixes #73190 .
2023-02-13 09:26:32 +01:00
Rémi Verschelde
fb846d3522
Merge pull request #71425 from Calinou/spinbox-add-independent-arrow-step-3.x
...
Add independent spinbox arrow step precision
2023-02-01 13:05:43 +01:00
Rémi Verschelde
93c76825ce
Merge pull request #64329 from jordo/fix/control-theme-cache
...
[3.x] Add theme item cache to `Control`
2023-01-23 22:23:33 +01:00
Yuri Sizov
1647f4d85e
Add dumb theme item cache to Control
...
(cherry picked from commit 9f88300007
)
Co-authored-by: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
2023-01-23 10:31:17 -06:00
Rémi Verschelde
dd7f517407
Merge pull request #66711 from rsubtil/port_popup_menu_rework
...
[3.x] PopupMenu rework and enhancements
2023-01-23 17:04:17 +01:00
EricEzaM
6a5992c9f1
PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
2023-01-21 21:36:26 +00:00
Jóhannes Gunnar Þorsteinsson
e09d4d255e
Add independent spinbox arrow step precision
...
Backported from the `master` branch, with a property hint added.
2023-01-14 20:14:17 +01:00
Rémi Verschelde
1426cd3b3a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
Backported from #70885 .
2023-01-10 15:26:54 +01:00
Rémi Verschelde
9832c9d127
Merge pull request #70593 from OsakiTsukiko/issue-62640
...
[3.x] Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-09 09:18:10 +01:00
OsakiTsukiko
0a386084bc
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-09 09:07:48 +01:00
Haoyu Qiu
36a21a43af
Fix Tree overflow without scrolling being enabled
2023-01-04 14:16:57 +08:00
Marius Hanl
fa304b5130
Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
...
Each BBCode tag is drawn individually, so we have to add the character spacing manually.
2023-01-03 07:53:19 +01:00
Zak
f974bcf074
Add `uri` property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b0
)
2022-12-18 10:43:39 +08:00
kobewi
9499ebecee
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
(cherry picked from commit 5553e27fe8
)
2022-12-18 10:32:04 +08:00
Marius Hanl
09f974b21d
Check for null event in Tree._gui_input to avoid engine crash
2022-12-15 17:35:53 +01:00
Haoyu Qiu
6f69d29398
Fix crash after executing ItemList.set_icon_scale
...
(cherry picked from commit 8d0fa193c3
)
2022-12-13 14:24:25 +01:00
Hugo Locurcio
c54c1b0b6b
Fix infinite loop when calling `Control.popup_centered_minsize()`
...
Co-authored-by: sriramun <sriramun2@gmail.com>
(cherry picked from commit 08e804b3b7
)
2022-12-12 14:49:23 +01:00
Dawid Marzec
ecef4804f2
Fix errors while deselecting all tree items; issue #65185
...
(cherry picked from commit d4d5df2314
)
2022-12-12 14:49:23 +01:00
Rémi Verschelde
bfce0c1e52
Merge pull request #59765 from pfertyk/issue-59359-wrong-visible-line-count-if-newline
...
Fix wrong visible line count for newline
2022-12-12 13:40:14 +01:00
Phnix
9ac09dfb64
incorrect range value with min value and step
...
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.
Co-Authored-By: Astral-Sheep <109028693+Astral-Sheep@users.noreply.github.com>
(cherry picked from commit fe1f8443a4
)
2022-12-12 14:22:54 +08:00
Haoyu Qiu
7bdbfbf822
Fix TreeItem.remove_child not updating Tree immediately
2022-12-04 21:37:19 +08:00
Dawid Marzec
1a123070c8
Remove auto selecting the first file for FileDialog with Save file mode selected
...
(cherry picked from commit 5cd30be56d
)
2022-12-01 12:27:43 +08:00
Micky
2ab79719b2
Fix ColorPicker always emitting color_changed on html submit
...
The color change was always emitted when the the modal was closed, even if it was exactly the same as before.
(cherry picked from commit 544727ac1e
)
2022-11-30 15:36:25 +01:00
Nong Van Tinh
ffbaa7fff0
Enhance null checking for input event
2022-11-27 15:01:34 +07:00
Rémi Verschelde
1ad9992ab7
Merge pull request #67995 from YeldhamDev/how_backporting
...
[3.x] Stop centering clicked suggestions in the autocomplete popup
2022-11-14 23:52:00 +01:00
Rémi Verschelde
d80396db03
Merge pull request #68556 from 98teg/flow-container-alignment
...
Add alignment options to flow container
2022-11-14 14:35:46 +01:00
Michael Alexsander
7a682236df
Stop centering clicked suggestions in the autocomplete popup
2022-11-13 09:17:05 -03:00
Teggy
5d0c29460a
Add alignment options to flow container
2022-11-12 12:11:16 +01:00
arkology
afdf00c40f
[3.x] AtlasTexture in radial modes of TextureProgress
2022-11-04 13:24:47 +03:00
kobewi
a0ad958582
Hide text of RichTextLabel if BBCode is enabled
2022-10-11 15:21:19 +02:00
Waridley
199f3d99c3
Support multiline strings in buttons
2022-10-01 21:50:39 -05:00
Rémi Verschelde
2aee09c6bc
Merge pull request #65428 from lawnjelly/input_uninit
2022-09-09 14:28:06 +02:00
Rémi Verschelde
92fa63886c
Merge pull request #65397 from maximkulkin/3.x-graph-edit-node-selection
2022-09-07 17:52:24 +02:00
Abhinav Chennubhotla
8acc25578e
Fix code folding icon color not matching defined color
...
Cherrypick of #58457 in master
Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.
- Create new icons for use specifically in the code editor
- Add these icons to the exceptions when converting dark theme icons
to light theme automatically
- Change the default value of the code folding color to match previous
color
- Code folding icon is now pure white by default to correctly match
the color defined in settings
2022-09-06 21:50:33 +05:30
lawnjelly
d60eae3dbc
Fix uninitialized data reads in Input
...
Found by Valgrind.
2022-09-06 14:21:01 +01:00
lawnjelly
fa4a325180
FlowContainer fix uninitialized data
...
This uninitialized data was finding its way into the renderer.
2022-09-06 09:04:00 +01:00
Maxim Kulkin
466c912344
Add GraphNode 'selected' and 'unselected' signals, simplify GraphEdit
...
Backport of the fix from master to 3.x
2022-09-06 01:35:58 -04:00
kobewi
8c9cd1d3ae
Hide prefix/suffix on SpinBox focus
2022-08-29 18:06:25 +02:00
Rémi Verschelde
47da910fcb
Merge pull request #64965 from YeldhamDev/more_hl_stuff_bp
2022-08-29 08:05:54 +02:00
Rémi Verschelde
ec23113403
Merge pull request #64968 from YeldhamDev/pm_up_fix_bp
2022-08-29 07:56:22 +02:00
Rémi Verschelde
8551d5875e
Merge pull request #64707 from YeldhamDev/tabs_button_expose
...
Expose `set/get_tab_button_icon()` to scripting
2022-08-28 23:29:58 +02:00
Michael Alexsander
1e80b17a8d
Fix some corner cases in the `Menu/OptionButton` item auto-highlight
2022-08-28 01:45:08 -03:00