Haoyu Qiu
1f0d9f04d2
Fix theme item parameter completion
2024-05-25 10:28:40 +08:00
Haoyu Qiu
30dead8a5e
Fix TabContainer not updating content rect after toggling tab icon
2024-04-20 16:12:45 +08:00
lawnjelly
d56d1ff4d2
Deprecate NOTIFICATION_MOVED_IN_PARENT
...
* NOTIFICATION_MOVED_IN_PARENT makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILD_ORDER_CHANGED (and children_changed signal).
* Most of the previous tasks carried out by NOTIFICATION_MOVED_IN_PARENT are now done not more than a single time per frame.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
2024-04-20 07:52:05 +01:00
lawnjelly
bc607fb607
Fix signed distance field font rendering
...
This fix works in both GLES3 and GLES2.
The rendering formula in the shader was adjusted to further improve the
sharpness/antialiasing quality balance.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-02-05 17:50:33 +00:00
kobewi
c377bffaa1
Preserve selection when focusing SpinBox
2024-01-18 16:38:05 +01:00
Jakub Marcowski
6637dc28f6
Remove the separator from ItemList
's thumbnail mode
2023-10-28 20:20:34 +02:00
Rémi Verschelde
d6c2a4bf68
Merge pull request #81352 from MJacred/3.x
...
[3.x] Fix cursor after last character INDEX in line counting as a character outside of the viewing area
2023-09-18 11:36:12 +02:00
Rémi Verschelde
4461f38c0b
Merge pull request #81409 from timothyqiu/social-distance
...
[3.x] Fix PopupMenu icon and text not having separation
2023-09-07 13:24:34 +02:00
Haoyu Qiu
78a11ea48c
Fix PopupMenu icon and text not having separation
2023-09-07 18:14:44 +08:00
A Thousand Ships
d0a98e1ddc
Make TextureButton
and Button
update on texture change
2023-09-06 16:44:12 +02:00
MJacred
55cdaebdf9
Fix cursor after last character in line counting as a character outside of the viewing area
...
The cursor column can be after the last_visible_char index and still be visible.
2023-09-05 19:36:17 +02:00
Paweł
268f83e07f
Fix scrolling behaviour with low page value
...
(cherry picked from commit 1608bea188
)
2023-08-28 17:27:13 +02:00
Rémi Verschelde
078e1b9f45
Merge pull request #79498 from lawnjelly/multirect_fix_flushing
...
[3.x] MultiRect - Fix flushing in TextEdit
2023-08-02 17:27:35 +02:00
lawnjelly
5162efbfe9
2D Fixed Timestep Interpolation
...
Adds support to canvas items and Camera2D.
2023-08-01 16:07:48 +01:00
lawnjelly
8814578ceb
MultiRect - Fix flushing in TextEdit
...
The FontDrawer used in TextEdit was previously not being flushed before drawing auto-completion boxes. This was causing rendering artifacts.
This PR also increases the backward compatibility of the MultiRect OFF mode, by forcing a flush after each character.
2023-07-15 14:02:21 +01:00
lawnjelly
43e181a00a
Single Compilation Unit build.
...
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-07-02 20:13:16 +01:00
Rémi Verschelde
3b3c5f413e
Merge pull request #77979 from paddy-exe/video-loop-fix
...
[3.x] Backport video loop property and fix for initial black frame
2023-06-15 15:55:14 +02:00
Patrick
58d76c117e
[3.x] Backport VideoLooping and fix for initial black frame
2023-06-07 21:36:37 +02:00
Rémi Verschelde
b15f7c1319
Merge pull request #77691 from rsubtil/fix_popupmenu_auto_height
...
[3.x] Fix `PopupMenu`'s automatic max height
2023-06-07 14:46:30 +02:00
Rémi Verschelde
450902ad3f
Merge pull request #77403 from KoBeWi/RichHackLabel
...
[3.x] Cache text property when toggling BBCode
2023-06-07 14:46:27 +02:00
Rémi Verschelde
f742d98679
Merge pull request #75959 from ShadyChibinko/tab_metadata_3x
...
[3.x] Add tab Metadata to Tabs & TabContainer
2023-06-07 14:46:21 +02:00
Ricardo Subtil
7fdfed2a9e
Fix PopupMenu's maximum height not being automatically set
2023-05-31 10:53:09 +01:00
Rémi Verschelde
894739109d
Merge pull request #77245 from novalis/slider-3.5
...
[3.x] Stop dragging when Slider changes editability
2023-05-23 19:05:29 +02:00
Rémi Verschelde
f1fa69a58d
Merge pull request #76753 from Calinou/itemlist-tree-add-allow-search-property-3.x
...
Add allow_search property to ItemList and Tree (3.x)
2023-05-23 19:05:25 +02:00
kobewi
95feb6bb82
Cache text property when toggling BBCode
2023-05-23 19:04:39 +02:00
David Turner
f6b918a1ca
Stop dragging when a slider changes editability
2023-05-19 11:31:34 -04:00
kleonc
0ce6ef7215
Fix GridContainer max row/column calculations not skipping hidden children
2023-05-08 12:51:28 +02:00
needleful
aac5558760
Add allow_search property to ItemList and Tree
2023-05-05 18:02:49 +02:00
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
ShadyChibinko
7af43733e1
Add Tab Metadata
2023-04-11 20:36:48 -04: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