K. S. Ernest (iFire) Lee
9ddebc0c22
Add a const call mode to Object, Variant and Script.
...
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
Rémi Verschelde
1c7971d11c
Merge pull request #37764 from KoBeWi/video_pauser
2022-06-27 14:50:29 +02:00
Rémi Verschelde
82a56e5c42
Merge pull request #61587 from YuriSizov/control-fix-theme-owner-toplevel
...
Fix theme propagation for children of top level controls and windows
2022-06-27 12:03:36 +02:00
Rémi Verschelde
af694245f5
Merge pull request #62221 from ConteZero/drag_and_drop_option
...
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26 16:02:52 +02:00
ConteZero
5d56efcaa4
Add an option to drag'n'drop selected text in TextEdit
2022-06-26 15:22:02 +02:00
kobewi
e69f3d527c
Properly handle game pause in VideoPlayer
2022-06-26 01:56:30 +02:00
Rémi Verschelde
ec2e7ea98c
Merge pull request #61435 from nathanfranke/tab-container-repaint
...
repaint tab container when changing tab visibility (fixes filesystem tab disappearing)
2022-06-25 23:14:18 +02:00
Rémi Verschelde
21c79d7515
Merge pull request #62311 from KoBeWi/anuluj
...
Replace some TTRCs with RTRs
2022-06-25 14:27:20 +02:00
Rindbee
c10304415f
Fix ProgressBar's minimum size not updating when toggling its percent_visible
2022-06-25 15:39:39 +08:00
Nathan Franke
085ec68dfe
repaint tab container when changing tab visibility
2022-06-23 18:20:00 -05:00
Pierre-Thomas Meisels
5ad1a1b5e7
enhancement: rename exposed property Control::minimum_size to Control::custom_minimum_size
2022-06-23 18:06:10 +02:00
kobewi
cd02cb27af
Replace some TTRCs with TTRs
2022-06-22 16:04:33 +02:00
FireForge
88589c091b
Improve TileSet editor and add more suffixes
2022-06-20 15:28:19 -05:00
bruvzg
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
Rémi Verschelde
778a9fce77
Merge pull request #61997 from Rindbee/fix-ColorPicker-wrong-sampling
...
Fix wrong sampling in ColorPicker
2022-06-15 12:48:23 +02:00
FireForge
f85eb4164a
Expose PopupMenu set/get_item_horizontal_offset()
...
- Renames setter from set_item_h_offset()
- Adds getter
2022-06-15 02:08:44 -05:00
Rindbee
fd285e19ed
Fix the bug that the sampling position is reversed, make eyedrop reusable.
2022-06-15 12:44:36 +08:00
kobewi
5553e27fe8
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-14 14:58:44 +02:00
Rémi Verschelde
e95f4eb5a7
Merge pull request #61819 from bruvzg/button_overrun
2022-06-13 11:02:04 +02:00
Rémi Verschelde
ae5a962cc4
Merge pull request #61842 from bruvzg/popup_fixes_sw
2022-06-13 10:51:46 +02:00
bruvzg
ba6cb84d01
[RTL] Fix underline/overline/strikethrough interaction with the "visible characters" property.
2022-06-13 10:53:55 +03:00
bruvzg
f7269fe878
Single-window mode popups and edited scene windows fixes.
...
Fix single-window mode popup not closing when OptionBox is clicked.
Fix single-window mode submenus closing when parent menu item, that was used to open it is clicked (using same safe-area logic as platform specific code).
Disallow windows that are part of an edited scene from being set as exclusive or popup to prevent it from locking up the editor.
2022-06-13 09:56:08 +03:00
FireForge
4678736a39
Add suffixes to all nodes and resources
2022-06-11 09:41:05 -05:00
iwek
082cf5440e
Fix setting line edit caret after dobule and triple click
2022-06-10 00:18:25 +02:00
bruvzg
906e9b6ac5
Add overrun behavior to the Button.
2022-06-08 19:02:27 +03:00
Rémi Verschelde
d52a79ad22
Merge pull request #59786 from V-Sekai/ok_color
...
Allow picking similar colours using OKHSL.
2022-06-07 20:52:32 +02:00
K. S. Ernest (iFire) Lee
1b776a6e7a
Allow picking similar colours using OKHSL.
2022-06-07 05:53:27 -07:00
Rémi Verschelde
70757ad7df
Merge pull request #61726 from YeldhamDev/always_clear
...
Take into account the clear icon's size even when not visible in `LineEdit`s
2022-06-07 14:16:13 +02:00
bruvzg
fc77f983cb
[RTL] Stop processing thread before deleting scroll bar.
2022-06-06 23:46:22 +03:00
Rémi Verschelde
52952edafc
Merge pull request #61724 from iwek7/fixing_rich_text_label
...
Fix richTextLabel scroll showing
2022-06-06 10:39:39 +02:00
iwek
c179ba665a
Fix richTextLabel scroll showing
2022-06-05 20:33:17 +02:00
Michael Alexsander
71c8fb26e0
Take into account the clear icon's size even when not visible in `LineEdit`s
2022-06-05 15:13:19 -03:00
Rindbee
a14f7c4027
Fix strange behavior with list close tags and empty list tags
...
Fix the first two points in #61621 .
Support for two writing ways: compact or loose. The loose one is designed for easy editing in the editor.
For this, the first blank line (if exists) right after the list tags (`[ol]`, `[/ol]`, `[ul]`, and `[/ul]`)
will be ignored.
Make sure the empty list contains at least one item, that is, an empty list is ultimately a list with one item.
As a reminder here is a list.
2022-06-05 01:33:09 +08:00
Rémi Verschelde
52e36ab80e
Merge pull request #61631 from iwek7/redundant_min_call
2022-06-02 18:20:45 +02:00
iwek
848e759d88
Remove redundant min call when setting line
2022-06-02 15:52:09 +02:00
Hendrik Brucker
c6a39cd952
Fix enclosed nodes calculation of GraphEdit comment nodes
2022-06-02 13:14:46 +02:00
Yuri Sizov
ba273c6c5f
Fix theme propagation for children of top level controls and windows
2022-06-01 04:20:00 +03:00
monkeyman192
5c29a7dbc5
Handle drawing of relationship lines better to take in to account invisible children
2022-06-01 00:23:33 +10:00
Rémi Verschelde
cf9aad63ba
Merge pull request #61453 from m3g4d1v3r/master
...
Fix #61444 : Executing Tree.scroll_to_item crashes Godot
2022-05-31 12:28:50 +02:00
Rémi Verschelde
cea54a0357
Merge pull request #61489 from Rindbee/reset-buttons_visible-to-false-if-tabs-is-empty
...
Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
2022-05-31 12:19:36 +02:00
Rémi Verschelde
a837accc5d
Merge pull request #61495 from timothyqiu/asymmetric-le
...
Fix LineEdit clear button for asymmetric stylebox
2022-05-31 08:55:21 +02:00
Hendrik Brucker
70c234f3e3
Improve Graphedit connection lines
2022-05-30 17:33:01 +02:00
Hendrik Brucker
771cb1261a
Improve and fix the GraphNode port hotzones
...
Co-authored-by: Ansraer <jacky2611@gmail.com>
2022-05-30 15:48:58 +02:00
Haoyu Qiu
e021fc9419
Fix LineEdit clear button for asymmetric stylebox
2022-05-28 19:50:35 +08:00
Rindbee
a3b23f6b67
Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
2022-05-28 12:54:45 +08:00
m3g4d1v3r
ee89c65b11
Add nullptr handling of argument pointer in Tree::scroll_to_item
2022-05-26 23:56:52 -03:00
monkeyman192
d4aa6e5366
Check visibility of items before drawing their relationship lines
2022-05-26 23:25:42 +10:00
Nathan Franke
2d14164bca
tree: always emit item_edited
2022-05-26 05:12:57 -05:00
Rémi Verschelde
2998be4f99
Merge pull request #60061 from monkeyman192/allow_treeitem_visible
...
Allow TreeItem nodes to toggle visibility
2022-05-24 10:53:41 +02:00
Rémi Verschelde
bd8d91254c
Merge pull request #61106 from snailrhymer/animation-library-fixes
...
Fix errors and improve UX relating to new animation libraries
2022-05-24 10:51:31 +02:00